File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
maven-core/src/main/resources/META-INF/maven Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -94,9 +94,11 @@ under the License.
9494
9595 <!-- javax.inject (JSR-330) -->
9696 <exportedPackage >javax.inject.*</exportedPackage >
97- <!-- javax.enterprise.inject (JSR-299) -->
97+ <!-- javax.enterprise.inject (JSR-299): Must never be exported if needed at plugin level, plugin adds it
98+ there is no justification to get it at Maven level and leaking it will conflict.
9899 <exportedPackage>javax.enterprise.util.*</exportedPackage>
99100 <exportedPackage>javax.enterprise.inject.*</exportedPackage>
101+ -->
100102
101103 <!-- javax.annotation (JSR-250) -->
102104 <exportedPackage >javax.annotation.*</exportedPackage >
Original file line number Diff line number Diff line change @@ -249,6 +249,12 @@ under the License.
249249 <groupId >org.eclipse.sisu</groupId >
250250 <artifactId >org.eclipse.sisu.plexus</artifactId >
251251 <version >${sisuVersion} </version >
252+ <exclusions >
253+ <exclusion > <!-- Way too easy to conflict with plugins to be in Maven and leak in plugins -->
254+ <groupId >javax.enterprise</groupId >
255+ <artifactId >cdi-api</artifactId >
256+ </exclusion >
257+ </exclusions >
252258 </dependency >
253259 <dependency >
254260 <groupId >org.eclipse.sisu</groupId >
You can’t perform that action at this time.
0 commit comments