mirror of https://github.com/apache/maven.git
parent
2ef0e5bacc
commit
2609cdcbc0
|
@ -96,9 +96,11 @@ under the License.
|
|||
|
||||
<!-- javax.inject (JSR-330) -->
|
||||
<exportedPackage>javax.inject.*</exportedPackage>
|
||||
<!-- javax.enterprise.inject (JSR-299) -->
|
||||
<!-- javax.enterprise.inject (JSR-299): Must never be exported if needed at plugin level, plugin adds it
|
||||
there is no justification to get it at Maven level and leaking it will conflict.
|
||||
<exportedPackage>javax.enterprise.util.*</exportedPackage>
|
||||
<exportedPackage>javax.enterprise.inject.*</exportedPackage>
|
||||
-->
|
||||
|
||||
<!-- javax.annotation (JSR-250) -->
|
||||
<exportedPackage>javax.annotation.*</exportedPackage>
|
||||
|
|
6
pom.xml
6
pom.xml
|
@ -273,6 +273,12 @@ under the License.
|
|||
<groupId>org.eclipse.sisu</groupId>
|
||||
<artifactId>org.eclipse.sisu.plexus</artifactId>
|
||||
<version>${sisuInjectVersion}</version>
|
||||
<exclusions>
|
||||
<exclusion> <!-- Way too easy to conflict with plugins to be in Maven and leak in plugins -->
|
||||
<groupId>javax.enterprise</groupId>
|
||||
<artifactId>cdi-api</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.eclipse.sisu</groupId>
|
||||
|
|
Loading…
Reference in New Issue