[ARTEMIS-1141] Fix some OSGi metadata issues

- do not export io.netty packages
  - import those packages with a correct import range
This commit is contained in:
Guillaume Nodet 2017-05-04 09:27:30 +02:00
parent 2d7dbc501c
commit e372c0a767
1 changed files with 3 additions and 2 deletions

View File

@ -123,13 +123,14 @@
<extensions>true</extensions>
<configuration>
<instructions>
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
<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)",
*
</Import-Package>
<_exportcontents>*</_exportcontents>
<_exportcontents>org.apache.activemq.artemis.*</_exportcontents>
</instructions>
</configuration>
</plugin>