You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by ra...@apache.org on 2020/04/19 18:22:07 UTC

[curator] branch CURATOR-464-make-classifier-osgi created (now f1749cb)

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

randgalt pushed a change to branch CURATOR-464-make-classifier-osgi
in repository https://gitbox.apache.org/repos/asf/curator.git.


      at f1749cb  CURATOR-464 - make unshaded JAR classifier 'osgi' instead of 'original'

This branch includes the following new commits:

     new f1749cb  CURATOR-464 - make unshaded JAR classifier 'osgi' instead of 'original'

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[curator] 01/01: CURATOR-464 - make unshaded JAR classifier 'osgi' instead of 'original'

Posted by ra...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

randgalt pushed a commit to branch CURATOR-464-make-classifier-osgi
in repository https://gitbox.apache.org/repos/asf/curator.git

commit f1749cb6734b9793767a4d607d9039e118ef7baf
Author: randgalt <ra...@apache.org>
AuthorDate: Sun Apr 19 13:21:53 2020 -0500

    CURATOR-464 - make unshaded JAR classifier 'osgi' instead of 'original'
---
 pom.xml | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 427037f..28e18b9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -936,6 +936,7 @@
                 <artifactId>maven-antrun-plugin</artifactId>
                 <executions>
                     <execution>
+                        <id>set-skip-attaching-original-artifact</id>
                         <phase>package</phase>
                         <goals>
                             <goal>run</goal>
@@ -954,6 +955,22 @@
                             <exportAntProperties>true</exportAntProperties>
                         </configuration>
                     </execution>
+                    <execution>
+                        <id>rename-original-to-osgi</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <target>
+                                <move
+                                    file="${project.build.directory}/original-${project.build.finalName}.jar"
+                                    tofile="${project.build.directory}/osgi-${project.build.finalName}.jar"
+                                />
+                            </target>
+                            <skip>${skip-attaching-original-artifact}</skip>
+                        </configuration>
+                    </execution>
                 </executions>
             </plugin>
 
@@ -969,9 +986,9 @@
                         <configuration>
                             <artifacts>
                                 <artifact>
-                                    <file>${project.build.directory}/original-${project.build.finalName}.jar</file>
+                                    <file>${project.build.directory}/osgi-${project.build.finalName}.jar</file>
                                     <type>jar</type>
-                                    <classifier>original</classifier>
+                                    <classifier>osgi</classifier>
                                 </artifact>
                             </artifacts>
                             <skipAttach>${skip-attaching-original-artifact}</skipAttach>