[ARTEMIS-1141] Fix some OSGi metadata issues

This commit is contained in:
Guillaume Nodet 2017-05-05 08:18:25 +02:00
parent 955bba7ed0
commit f46fa8b927
2 changed files with 5 additions and 7 deletions

View File

@ -62,10 +62,9 @@
</feature>
<feature name="artemis-amqp" version="${pom.version}" description="ActiveMQ Artemis AMQP protocol libraries">
<feature prerequisite="true">wrap</feature>
<feature>artemis-core</feature>
<bundle dependency="true">wrap:mvn:org.apache.qpid/proton-j/${proton.version}</bundle>
<bundle dependency="true">wrap:mvn:org.apache.qpid/qpid-jms-client/${qpid.jms.version}</bundle>
<bundle>mvn:org.apache.qpid/proton-j/${proton.version}</bundle>
<bundle>mvn:org.apache.qpid/qpid-jms-client/${qpid.jms.version}</bundle>
<bundle>mvn:org.apache.activemq/artemis-amqp-protocol/${pom.version}</bundle>
</feature>

View File

@ -119,18 +119,17 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>3.0.0</version>
<version>3.3.0</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Embed-Dependency>*;scope=compile|runtime;groupId=org.apache.activemq</Embed-Dependency>
<Import-Package>
!org.apache.activemq.artemis.*,
org.postgresql*;resolution:=optional,
io.netty.*;version="[4.1,5)",
io.netty.buffer;io.netty.*;version="[4.1,5)",
*
</Import-Package>
<_exportcontents>org.apache.activemq.artemis.*</_exportcontents>
<_exportcontents>org.apache.activemq.artemis.*;-noimport:=true</_exportcontents>
</instructions>
</configuration>
</plugin>