You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2016/09/20 13:32:11 UTC

[1/2] qpid-jms git commit: QPIDJMS-164: Provide OSGi metadata for qpid-jms-client

Repository: qpid-jms
Updated Branches:
  refs/heads/master 6eac59222 -> da0f0e6e6


QPIDJMS-164: Provide OSGi metadata for qpid-jms-client

This change adds the maven-bundle-plugin to the parent project and
activates it in the qpid-jms-client project, generating OSGi meta data
for the project.

The Bundle-SymbolicName is overridden to "org.apache.qpid.jms.client".

The DynamicPackage-Import header is set to "*" since the JMS client can
actually create instances from all kind of classes.

Signed-off-by: Jens Reimann <jr...@redhat.com>

Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/17c97280
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/17c97280
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/17c97280

Branch: refs/heads/master
Commit: 17c972800170163b1cfd42a364daf0a26da63e91
Parents: 6eac592
Author: Jens Reimann <jr...@redhat.com>
Authored: Mon Sep 19 17:30:28 2016 +0200
Committer: Jens Reimann <jr...@redhat.com>
Committed: Tue Sep 20 13:45:46 2016 +0200

----------------------------------------------------------------------
 pom.xml                 |  7 +++++++
 qpid-jms-client/pom.xml | 17 ++++++++++++++++-
 2 files changed, 23 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/17c97280/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index fbb9396..d509141 100644
--- a/pom.xml
+++ b/pom.xml
@@ -60,6 +60,7 @@
     <maven-javacc-plugin-version>2.6</maven-javacc-plugin-version>
     <maven-eclipse-plugin-version>2.10</maven-eclipse-plugin-version>
     <maven-idea-plugin-version>2.5</maven-idea-plugin-version>
+    <maven-bundle-plugin-version>3.2.0</maven-bundle-plugin-version>
     <findbugs-maven-plugin-version>3.0.2</findbugs-maven-plugin-version>
     <jacoco-plugin-version>0.7.5.201505241946</jacoco-plugin-version>
 
@@ -215,6 +216,12 @@
           </configuration>
         </plugin>
         <plugin>
+          <groupId>org.apache.felix</groupId>
+          <artifactId>maven-bundle-plugin</artifactId>
+          <version>${maven-bundle-plugin-version}</version>
+          <extensions>true</extensions>
+        </plugin>
+        <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-release-plugin</artifactId>
           <configuration>

http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/17c97280/qpid-jms-client/pom.xml
----------------------------------------------------------------------
diff --git a/qpid-jms-client/pom.xml b/qpid-jms-client/pom.xml
index 24b647e..bebe7ee 100644
--- a/qpid-jms-client/pom.xml
+++ b/qpid-jms-client/pom.xml
@@ -24,7 +24,7 @@
   </parent>
 
   <artifactId>qpid-jms-client</artifactId>
-  <packaging>jar</packaging>
+  <packaging>bundle</packaging>
   <name>QpidJMS Client</name>
   <description>The core JMS Client implementation</description>
 
@@ -112,6 +112,21 @@
     </resources>
     <plugins>
       <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <configuration>
+          <instructions>
+            <Bundle-SymbolicName>org.apache.qpid.jms.client</Bundle-SymbolicName>
+            <Export-Package>org.apache.qpid.jms.*</Export-Package>
+            <Import-Package>
+            io.netty.*;version="[4.0.0,4.1.0)",
+            org.apache.qpid.proton.*;version="[0.14.0,0.15.0)",
+            *</Import-Package>
+            <Dynamic-ImportPackage>*</Dynamic-ImportPackage>
+          </instructions>
+        </configuration>
+      </plugin>
+      <plugin>
         <groupId>org.jacoco</groupId>
         <artifactId>jacoco-maven-plugin</artifactId>
         <configuration>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


[2/2] qpid-jms git commit: QPIDJMS-164: merge change to add OSGi metadata

Posted by ro...@apache.org.
QPIDJMS-164: merge change to add OSGi metadata

This closes #4


Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/da0f0e6e
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/da0f0e6e
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/da0f0e6e

Branch: refs/heads/master
Commit: da0f0e6e6437b2c0c6640099916ab6f142b47fb0
Parents: 6eac592 17c9728
Author: Robert Gemmell <ro...@apache.org>
Authored: Tue Sep 20 14:16:09 2016 +0100
Committer: Robert Gemmell <ro...@apache.org>
Committed: Tue Sep 20 14:16:09 2016 +0100

----------------------------------------------------------------------
 pom.xml                 |  7 +++++++
 qpid-jms-client/pom.xml | 17 ++++++++++++++++-
 2 files changed, 23 insertions(+), 1 deletion(-)
----------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org