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 2022/08/31 15:00:35 UTC

[qpid-jms] 02/02: QPIDJMS-578: update to maven-bundle-plugin 5.1.8

This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch 1.x
in repository https://gitbox.apache.org/repos/asf/qpid-jms.git

commit 86d8766cea3ad6e71e45c85148ce8091d2166e34
Author: Robbie Gemmell <ro...@apache.org>
AuthorDate: Wed Aug 31 15:42:06 2022 +0100

    QPIDJMS-578: update to maven-bundle-plugin 5.1.8
    
    (cherry picked from commit 15a44a12c1810e584857078edeaee210a6e0727b)
---
 pom.xml                 |  2 +-
 qpid-jms-client/pom.xml | 24 +++++++++++++++++++++++-
 2 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 9562318a..e69e327e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -59,7 +59,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>5.1.2</maven-bundle-plugin-version>
+    <maven-bundle-plugin-version>5.1.8</maven-bundle-plugin-version>
     <findbugs-maven-plugin-version>3.0.2</findbugs-maven-plugin-version>
     <jacoco-plugin-version>0.8.6</jacoco-plugin-version>
 
diff --git a/qpid-jms-client/pom.xml b/qpid-jms-client/pom.xml
index b4baecd0..093be12c 100644
--- a/qpid-jms-client/pom.xml
+++ b/qpid-jms-client/pom.xml
@@ -24,7 +24,7 @@
   </parent>
 
   <artifactId>qpid-jms-client</artifactId>
-  <packaging>bundle</packaging>
+  <packaging>jar</packaging>
   <name>QpidJMS Client</name>
   <description>The core JMS Client implementation</description>
 
@@ -179,6 +179,28 @@
             <Dynamic-ImportPackage>*</Dynamic-ImportPackage>
           </instructions>
         </configuration>
+        <executions>
+          <execution>
+            <id>bundle-manifest</id>
+            <phase>process-classes</phase>
+            <goals>
+              <goal>manifest</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <archive>
+            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+            <manifest>
+              <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
+              <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
+            </manifest>
+          </archive>
+        </configuration>
       </plugin>
       <plugin>
         <groupId>org.jacoco</groupId>


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