[java-parent-project-v3] branch master updated: IDP-845 - Add ability to not skip tests in upload script.

Tom Zeller tzeller at dragonacea.biz
Thu Oct 29 11:57:52 EDT 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  e9ade75   IDP-845 - Add ability to not skip tests in upload script.
e9ade75 is described below

commit e9ade75ddb8696fe52043394c8e612df553f8234
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Thu Oct 29 10:58:15 2015 -0500

    IDP-845 - Add ability to not skip tests in upload script.
    
    The script to upload dependencies to Maven always skipped tests,
    resulting in some used-but-not-declared artifacts to be omitted.
---
 bin/upload-nexus-dependencies.sh | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/bin/upload-nexus-dependencies.sh b/bin/upload-nexus-dependencies.sh
index 5d6f056..b25ee79 100755
--- a/bin/upload-nexus-dependencies.sh
+++ b/bin/upload-nexus-dependencies.sh
@@ -95,9 +95,11 @@ $ECHO ""
 
 ask y "1. Run verify goal ?" BUILD_OLD_POM
 if [ $BUILD_OLD_POM == "y" ] ; then
-    read -p "Command line options ? " BUILD_OLD_POM_COMMAND_LINE_OPTIONS
-    $ECHO "$MVN --strict-checksums -Dmaven.repo.local=repository-old clean verify site -Prelease -DskipTests $BUILD_OLD_POM_COMMAND_LINE_OPTIONS"
-    $MVN --strict-checksums -Dmaven.repo.local=repository-old clean verify site -Prelease -DskipTests $BUILD_OLD_POM_COMMAND_LINE_OPTIONS
+    DEFAULT_COMMAND_LINE_OPTIONS="-DskipTests=true"
+    ask $DEFAULT_COMMAND_LINE_OPTIONS " Command line options ?" COMMAND_LINE_OPTIONS
+
+    $ECHO "$MVN --strict-checksums -Dmaven.repo.local=repository-old clean verify site -Prelease $COMMAND_LINE_OPTIONS"
+    $MVN --strict-checksums -Dmaven.repo.local=repository-old clean verify site -Prelease  $COMMAND_LINE_OPTIONS
 fi
 $ECHO ""
 

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


More information about the commits mailing list