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 <randg...@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>