[java-parent-projects COMMIT] /java-parent-project-v3/trunk/bin/upload-nexus-dependencies.sh
noreply at shibboleth.net
noreply at shibboleth.net
Wed Jul 1 22:54:25 EDT 2015
Author: tzeller
Date: Wed Jul 1 22:54:25 2015
New Revision: 332
URL: http://svn.shibboleth.net/view/java-parent-projects?rev=332&view=rev
Log:
JPAR-56 - Add ability to run a Maven plugin.
For example, upload third-party dependencies of Maven plugins used during release process.
https://issues.shibboleth.net/jira/browse/JPAR-56
Modified:
java-parent-project-v3/trunk/bin/upload-nexus-dependencies.sh
Modified: java-parent-project-v3/trunk/bin/upload-nexus-dependencies.sh
URL: http://svn.shibboleth.net/view/java-parent-projects/java-parent-project-v3/trunk/bin/upload-nexus-dependencies.sh?rev=332&r1=331&r2=332&view=diff
==============================================================================
--- java-parent-project-v3/trunk/bin/upload-nexus-dependencies.sh (original)
+++ java-parent-project-v3/trunk/bin/upload-nexus-dependencies.sh Wed Jul 1 22:54:25 2015
@@ -86,7 +86,12 @@
fi
$ECHO ""
-ask y "Build with old pom" BUILD_OLD_POM
+$ECHO "There are 3 (really only 2) choices :"
+$ECHO " 1. Run Maven verify goal."
+$ECHO " 2. Run a Maven plugin."
+$ECHO ""
+
+ask y "1. Run verify goal ?" BUILD_OLD_POM
if [ $BUILD_OLD_POM == "y" ] ; then
$ECHO "$MVN --strict-checksums -Dmaven.repo.local=repository-old clean verify site -Prelease -DskipTests"
$MVN --strict-checksums -Dmaven.repo.local=repository-old clean verify site -Prelease -DskipTests
@@ -111,6 +116,18 @@
$ECHO "$MVN --strict-checksums -Dmaven.repo.local=repository-new verify site -Prelease -DskipTests -f pom.new.xml"
$MVN --strict-checksums -Dmaven.repo.local=repository-new verify site -Prelease -DskipTests -f pom.new.xml
fi
+fi
+$ECHO ""
+
+ask y "2. Run a Maven plugin ?" RUN_MAVEN_PLUGIN
+if [ $RUN_MAVEN_PLUGIN == "y" ] ; then
+ DEFAULT_MAVEN_PLUGIN="versions:display-dependency-updates"
+ ask $DEFAULT_MAVEN_PLUGIN " Which plugin ?" MAVEN_PLUGIN
+ $ECHO "MAVEN_PLUGIN is : $MAVEN_PLUGIN"
+ $ECHO "DEFAULT_MAVEN_PLUGIN is : $DEFAULT_MAVEN_PLUGIN"
+ $ECHO ""
+ $ECHO "$MVN --strict-checksums -Dmaven.repo.local=repository-old $MAVEN_PLUGIN"
+ $MVN --strict-checksums -Dmaven.repo.local=repository-old $MAVEN_PLUGIN
fi
$ECHO ""
More information about the commits
mailing list