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/30 11:53:57 UTC

[qpid-proton-j] branch main updated: PROTON-2597: switch to having jar plugin do packaging, it picks up the outputTimestamp value rather than fixed 1st Feb 1980

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

robbie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton-j.git


The following commit(s) were added to refs/heads/main by this push:
     new 427ef02e PROTON-2597: switch to having jar plugin do packaging, it picks up the outputTimestamp value rather than fixed 1st Feb 1980
427ef02e is described below

commit 427ef02eb8a8027cede111853b91abc3fcae855c
Author: Robbie Gemmell <ro...@apache.org>
AuthorDate: Tue Aug 30 12:50:17 2022 +0100

    PROTON-2597: switch to having jar plugin do packaging, it picks up the outputTimestamp value rather than fixed 1st Feb 1980
---
 proton-j/pom.xml | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/proton-j/pom.xml b/proton-j/pom.xml
index df1edfb9..d5dd806b 100644
--- a/proton-j/pom.xml
+++ b/proton-j/pom.xml
@@ -24,7 +24,7 @@
   <modelVersion>4.0.0</modelVersion>
 
   <artifactId>proton-j</artifactId>
-  <packaging>bundle</packaging>
+  <packaging>jar</packaging>
 
   <name>Proton-J</name>
 
@@ -57,15 +57,24 @@
             <Import-Package>
               javax.net.ssl*;resolution:=optional,!org.bouncycastle*,*
             </Import-Package>
-            <Automatic-Module-Name>org.apache.qpid.proton.j</Automatic-Module-Name>
           </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>
             <manifestEntries>
               <Automatic-Module-Name>org.apache.qpid.proton.j</Automatic-Module-Name>
             </manifestEntries>


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