[AMQ-8533] Fix maven-bundle-plugin instructions to avoid shading all packages

This commit is contained in:
Jean-Baptiste Onofré 2022-03-09 20:51:56 +01:00
parent 2a075005de
commit 9ba7aab24d
4 changed files with 3 additions and 4 deletions

View File

@ -199,7 +199,6 @@
<inherited>true</inherited>
<configuration>
<instructions>
<Export-Package>*</Export-Package>
<Import-Package>
!com.google.errorprone.annotations,
!com.google.errorprone.annotations.concurrent,

View File

@ -109,7 +109,7 @@
<inherited>true</inherited>
<configuration>
<instructions>
<Export-Package>*</Export-Package>
<Export-Package>org.apache.activemq.jms.pool*;version=${project.version};-noimport:=true</Export-Package>
<Import-Package>
javax.jms*;version="[1.1,3)",
javax.transaction*;resolution:=optional,

View File

@ -213,7 +213,7 @@
org.apache.tools.ant*;resolution:=optional,
org.apache.log4j*;resolution:=optional,
org.json*;resolution:=optional,
org.objectweb.asm;version="[5,8)";resolution:=optional,
org.objectweb.asm;version="[5,10)";resolution:=optional,
mx4j.tools*;resolution:=optional,
org.slf4j*;resolution:=optional,
org.osgi.service.blueprint;resolution:=optional,

View File

@ -131,7 +131,7 @@
<inherited>true</inherited>
<configuration>
<instructions>
<Export-Package>*</Export-Package>
<Export-Package>org.apache.activemq.pool*;version=${project.version};-noimport:=true</Export-Package>
<Import-Package>
javax.transaction*;resolution:=optional,
org.apache.activemq.jms.pool*;resolution:=optional,