ARTEMIS-860 add artemis-openwire protocol to osgi feature and fix bundle issues

This commit is contained in:
Ryan Yeats 2016-11-18 13:43:24 -07:00
parent a3bd2c9c73
commit fd12266449
2 changed files with 31 additions and 0 deletions

View File

@ -25,6 +25,7 @@
<feature>artemis-stomp</feature> <feature>artemis-stomp</feature>
<feature>artemis-mqtt</feature> <feature>artemis-mqtt</feature>
<feature>artemis-hornetq</feature> <feature>artemis-hornetq</feature>
<feature>artemis-openwire</feature>
</feature> </feature>
<feature name="netty-core" version="${netty.version}" description="Netty libraries"> <feature name="netty-core" version="${netty.version}" description="Netty libraries">
@ -84,4 +85,11 @@
<bundle>mvn:org.apache.activemq/artemis-hornetq-protocol/${pom.version}</bundle> <bundle>mvn:org.apache.activemq/artemis-hornetq-protocol/${pom.version}</bundle>
</feature> </feature>
<feature name="artemis-openwire" version="${pom.version}" description="ActiveMQ Artemis HornetQ protocol libraries">
<feature>artemis-core</feature>
<bundle>mvn:org.fusesource.hawtbuf/hawtbuf/1.11</bundle>
<bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1</bundle>
<bundle>mvn:org.apache.activemq/artemis-openwire-protocol/${pom.version}</bundle>
</feature>
</features> </features>

View File

@ -65,4 +65,27 @@
</dependencies> </dependencies>
<packaging>bundle</packaging> <packaging>bundle</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>3.0.0</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Embed-Dependency>activemq-client</Embed-Dependency>
<Import-Package>
!org.apache.commons.net.ftp,
!javax.jmdns,
javax.jms;version="[2,3)",
*
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>