You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gn...@apache.org on 2017/05/04 07:28:17 UTC

activemq-artemis git commit: [ARTEMIS-1141] Fix some OSGi metadata issues - do not export io.netty packages - import those packages with a correct import range

Repository: activemq-artemis
Updated Branches:
  refs/heads/master 2d7dbc501 -> e372c0a76


[ARTEMIS-1141] Fix some OSGi metadata issues
  - do not export io.netty packages
  - import those packages with a correct import range

Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/e372c0a7
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/e372c0a7
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/e372c0a7

Branch: refs/heads/master
Commit: e372c0a767bff6ea3fa56abdbc7ed3f760ce1d5d
Parents: 2d7dbc5
Author: Guillaume Nodet <gn...@apache.org>
Authored: Thu May 4 09:27:30 2017 +0200
Committer: Guillaume Nodet <gn...@apache.org>
Committed: Thu May 4 09:28:07 2017 +0200

----------------------------------------------------------------------
 artemis-server-osgi/pom.xml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/e372c0a7/artemis-server-osgi/pom.xml
----------------------------------------------------------------------
diff --git a/artemis-server-osgi/pom.xml b/artemis-server-osgi/pom.xml
index 194243e..832702c 100644
--- a/artemis-server-osgi/pom.xml
+++ b/artemis-server-osgi/pom.xml
@@ -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>