[java-parent-project-v3] 01/09: Cleanup.

Tom Zeller tzeller at dragonacea.biz
Sat Nov 14 02:45:44 EST 2015


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch master
in repository java-parent-project-v3.

commit eb7bddee4f375b1b0b3bf0d6570caed2bb7f8e12
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Fri Nov 13 13:36:30 2015 -0600

    Cleanup.
---
 bin/upload-nexus-dependencies.sh | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/bin/upload-nexus-dependencies.sh b/bin/upload-nexus-dependencies.sh
index 5412033..ec0d656 100755
--- a/bin/upload-nexus-dependencies.sh
+++ b/bin/upload-nexus-dependencies.sh
@@ -37,7 +37,7 @@ function ask {
     if [ $YES_TO_ALL == "y" ] ; then
        RESULT="y"
     else
-		read -p "$2 (y/n) ? [$1] : " -e REPLY
+		read -p "$2 ? [$1] : " -e REPLY
 		if [ -n "$REPLY" ] ; then
             RESULT=$REPLY
 		fi
@@ -93,7 +93,7 @@ $ECHO " 3. Upload an artifact"
 $ECHO " You will be prompted for each."
 $ECHO ""
 
-ask y "1. Run verify goal ?" BUILD_OLD_POM
+ask y "1. Run verify goal" BUILD_OLD_POM
 if [ $BUILD_OLD_POM == "y" ] ; then
     DEFAULT_COMMAND_LINE_OPTIONS="-DskipTests=true"
     ask $DEFAULT_COMMAND_LINE_OPTIONS " Command line options ?" COMMAND_LINE_OPTIONS
@@ -124,7 +124,7 @@ if [ -e pom.new.xml ] ; then
 fi
 $ECHO ""
 
-ask y "2. Run a Maven plugin ?" RUN_MAVEN_PLUGIN
+ask y "2. Run a Maven plugin" RUN_MAVEN_PLUGIN
 if [ $RUN_MAVEN_PLUGIN == "y" ] ; then
     read -p "Command line options ? " RUN_MAVEN_PLUGIN_COMMAND_LINE_OPTIONS
     DEFAULT_MAVEN_PLUGIN="dependency:resolve"
@@ -137,10 +137,12 @@ if [ $RUN_MAVEN_PLUGIN == "y" ] ; then
 fi
 $ECHO ""
 
-ask y "3. Upload an artifact ?" UPLOAD_ARTIFACT
+ask y "3. Upload an artifact" UPLOAD_ARTIFACT
 if [ $UPLOAD_ARTIFACT == "y" ] ; then
-    DEFAULT_ARTIFACT_TO_UPLOAD="org.eclipse.jetty:jetty-distribution:9.3.2.v20150730:tar.gz"
-    ask $DEFAULT_ARTIFACT_TO_UPLOAD " Which artifact in form groupId:artifactId:version[:packaging][:classifier] ?" ARTIFACT_TO_UPLOAD
+    DEFAULT_ARTIFACT_TO_UPLOAD="groupId:artifactId:version"
+    $ECHO " Specify artifact in format : groupId:artifactId:version[:packaging][:classifier]"
+    $ECHO " For example : org.eclipse.jetty:jetty-distribution:9.3.2.v20150730:tar.gz"
+    ask $DEFAULT_ARTIFACT_TO_UPLOAD " Which artifact ?" ARTIFACT_TO_UPLOAD
     $ECHO " ARTIFACT_TO_UPLOAD is : $ARTIFACT_TO_UPLOAD"
     $ECHO ""
     DEFAULT_COMMAND_LINE_OPTIONS="-Dtransitive=true"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list