[java-parent-project-v3] branch master updated: Add option to upload Jetty distribution.

Tom Zeller tzeller at dragonacea.biz
Sat Nov 14 03:29:29 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.

The following commit(s) were added to refs/heads/master by this push:
       new  5887595   Add option to upload Jetty distribution.
5887595 is described below

commit 5887595b4f5e853b16f8e0ba9a7d0b75bd7399bb
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Sat Nov 14 02:30:23 2015 -0600

    Add option to upload Jetty distribution.
---
 bin/upload-nexus-dependencies.sh | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/bin/upload-nexus-dependencies.sh b/bin/upload-nexus-dependencies.sh
index bc42ef6..9d09062 100755
--- a/bin/upload-nexus-dependencies.sh
+++ b/bin/upload-nexus-dependencies.sh
@@ -86,10 +86,11 @@ if [ $CREATE_DIRS == "y" ] ; then
 fi
 $ECHO ""
 
-$ECHO "There are 4 (really only 3) choices :"
+$ECHO "There are 4 choices :"
 $ECHO " 1. Run verify goal"
 $ECHO " 2. Run a Maven plugin"
 $ECHO " 3. Upload an artifact"
+$ECHO " 4. Upload Jetty distribution"
 $ECHO " You will be prompted for each."
 $ECHO ""
 
@@ -154,6 +155,28 @@ if [ $UPLOAD_ARTIFACT == "y" ] ; then
 fi
 $ECHO ""
 
+ask n "4. Upload Jetty distribution" UPLOAD_JETTY_DISTRIBUTION
+if [ $UPLOAD_JETTY_DISTRIBUTION == "y" ] ; then
+    DEFAULT_JETTY_VERSION="9.2.14.v20151106"
+    ask $DEFAULT_JETTY_VERSION " Which version" JETTY_VERSION
+    $ECHO " JETTY_VERSION is : $JETTY_VERSION"
+    $ECHO ""
+    DEFAULT_COMMAND_LINE_OPTIONS="-Dtransitive=false"
+    ask $DEFAULT_COMMAND_LINE_OPTIONS " Command line options" COMMAND_LINE_OPTIONS
+    $ECHO " COMMAND_LINE_OPTIONS is : $COMMAND_LINE_OPTIONS"
+    $ECHO ""
+    
+    $ECHO "$MVN --strict-checksums -Dmaven.repo.local=repository-old dependency:get $COMMAND_LINE_OPTIONS -Dartifact=org.eclipse.jetty:jetty-distribution:$JETTY_VERSION:pom"
+           $MVN --strict-checksums -Dmaven.repo.local=repository-old dependency:get $COMMAND_LINE_OPTIONS -Dartifact=org.eclipse.jetty:jetty-distribution:$JETTY_VERSION:pom 
+           
+    $ECHO "$MVN --strict-checksums -Dmaven.repo.local=repository-old dependency:get $COMMAND_LINE_OPTIONS -Dartifact=org.eclipse.jetty:jetty-distribution:$JETTY_VERSION:tar.gz"
+           $MVN --strict-checksums -Dmaven.repo.local=repository-old dependency:get $COMMAND_LINE_OPTIONS -Dartifact=org.eclipse.jetty:jetty-distribution:$JETTY_VERSION:tar.gz
+
+    $ECHO "$MVN --strict-checksums -Dmaven.repo.local=repository-old dependency:get $COMMAND_LINE_OPTIONS -Dartifact=org.eclipse.jetty:jetty-distribution:$JETTY_VERSION:zip"
+           $MVN --strict-checksums -Dmaven.repo.local=repository-old dependency:get $COMMAND_LINE_OPTIONS -Dartifact=org.eclipse.jetty:jetty-distribution:$JETTY_VERSION:zip
+fi
+$ECHO ""
+
 ask y "Create repository-diff" CREATE_REPO_DIFF
 if [ $CREATE_REPO_DIFF == "y" ] ; then
     if [ -e pom.new.xml ] ; then

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


More information about the commits mailing list