diff options
author | Sven Gothel <[email protected]> | 2012-12-25 08:58:05 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-12-25 08:58:05 +0100 |
commit | 6bdc31b31dfcd92a4b0f0114b5465a750483476c (patch) | |
tree | a5f1208589e0293eb2a0fd7a09dde411ef8503ac /maven | |
parent | 1ddf7e0511e78257019ac98d92ceccc77e262bc5 (diff) |
Allow REPOSITORY_URL and REPOSITORY_ID to be pre-defined (setting server in user script)
Diffstat (limited to 'maven')
-rwxr-xr-x | maven/make-deploy-one.sh | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/maven/make-deploy-one.sh b/maven/make-deploy-one.sh index 458ee44..d9d6ae2 100755 --- a/maven/make-deploy-one.sh +++ b/maven/make-deploy-one.sh @@ -16,11 +16,14 @@ shift VERSION="$1" shift -REPOSITORY_URL="https://oss.sonatype.org/service/local/staging/deploy/maven2/" -REPOSITORY_ID="sonatype-nexus-staging" - -# REPOSITORY_URL="scpexe://jogamp.org/home/mraynsford/repository/" -# REPOSITORY_ID="jogamp-test-mirror" +if [ -z "${REPOSITORY_URL}" -o -z "${REPOSITORY_ID}" ] ; then + REPOSITORY_URL="https://oss.sonatype.org/service/local/staging/deploy/maven2/" + REPOSITORY_ID="sonatype-nexus-staging" + # REPOSITORY_URL="scpexe://jogamp.org/home/mraynsford/repository/" + # REPOSITORY_ID="jogamp-test-mirror" + # REPOSITORY_URL="scpexe://jogamp.org/srv/www/jogamp.org/deployment/maven/" + # REPOSITORY_ID="jogamp-mirror" +fi PLATFORMS=`cat make-platforms.txt | awk '{print $1}'` || exit 1 CURRENT_DIR=`pwd` || exit 1 |