Bug 979404
Summary: | adding beans.xml via addAsWebInfResource doesn't work with ShrinkWrap 1.1.2 and Arquillian 1.0.4.Final | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] JBoss Enterprise WFK Platform 2 | Reporter: | Ron Šmeral <rsmeral> | ||||
Component: | Arquillian | Assignee: | Rodney Russ <rruss> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | thradec | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 2.3.0 | CC: | amelicha, kpiwko, maschmid, mnovotny | ||||
Target Milestone: | CR2 | ||||||
Target Release: | 2.3.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-07-16 11:27:07 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
A possible fix would be to downgrade arquillian to 1.0.3.Final upgraded to 1.1.0.Final by http://git.app.eng.bos.redhat.com/?p=jboss/jboss-bom.git;a=commitdiff;h=6779b44caeb22e2dfed15e09477e0d7444f61b43;hp=821af1c5b670de9a9c1286d5d84ecabbe6789a03 verified on WFK-2.3.0.CR2 |
Created attachment 766559 [details] Reproducer Description of problem: When using addAsWebInfResource with ShrinkWrap 1.1.2 and Arquillian 1.0.4.Final, the added WEB-INF resources are 0 bytes in size. With Arquillian 1.0.3.Final this works OK. Version-Release number of selected component (if applicable): WFK 2.3.0.CR1 How reproducible: Run 'mvn clean test' in the reproducer Actual results: The ShrinkWrap-built archive fails to deploy because the beans.xml file is empty and thus doesn't declare the needed alternative bean. Expected results: The test passes. Additional info: It seems there is some other factor to this problem, because addWebInfResource seems to work in Seam examples but fails e.g. in cdi-add-interceptor quickstart.