Merge pull request #799 from jbonofre/AMQ-8533

[AMQ-8533] Fix maven-bundle-plugin instructions to avoid shading all packages
This commit is contained in:
Christopher L. Shannon 2022-03-09 15:34:27 -05:00 committed by GitHub
commit 5f9a516282
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 4 deletions

View File

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

View File

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

View File

@ -213,7 +213,7 @@
org.apache.tools.ant*;resolution:=optional, org.apache.tools.ant*;resolution:=optional,
org.apache.log4j*;resolution:=optional, org.apache.log4j*;resolution:=optional,
org.json*;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, mx4j.tools*;resolution:=optional,
org.slf4j*;resolution:=optional, org.slf4j*;resolution:=optional,
org.osgi.service.blueprint;resolution:=optional, org.osgi.service.blueprint;resolution:=optional,

View File

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