Commit 401fe82
committed
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
1 parent 3592a73 commit 401fe82
File tree
2 files changed
+7
-0
lines changed- jaxrs/angularjs/src/test
- java/org/javaee7/jaxrs/angularjs
- resources
2 files changed
+7
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
| 54 | + | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments