Enforcing Weld to scan only those archives which have beans.xml in it. Otherwise any other 3rd party library which is using JSR-330 annotations will cause the deployment in CDI 1.1 environment (Java EE 7) to fail. For example Guava used in AngularJS tests. Related issue: #245