Skip to content

Commit 3bd4f25

Browse files
committed
Removing redundant beans.xml from archive
1 parent ceb77d3 commit 3bd4f25

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

validation/custom-constraint/src/test/java/org/javaee7/validation/custom/constraint/CustomConstraintTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ public class CustomConstraintTest {
2828
public static Archive<?> deployment() {
2929
WebArchive war = ShrinkWrap.create(WebArchive.class)
3030
.addClasses(MyBean.class)
31-
.addAsResource("ValidationMessages.properties")
32-
.addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml");
31+
.addAsResource("ValidationMessages.properties");
3332

3433
System.out.println(war.toString(true));
3534
return war;

0 commit comments

Comments
 (0)