aboutsummaryrefslogtreecommitdiff
path: root/test/utils.bash
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils.bash')
-rw-r--r--test/utils.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/utils.bash b/test/utils.bash
index ad80629..26be39d 100644
--- a/test/utils.bash
+++ b/test/utils.bash
@@ -42,10 +42,11 @@ mkzip() {
}
install_artifact() {
+ local version=${1-1.0-SNAPSHOT}
describe -Dfile=`fix_path $APPSH_HOME/test/data/app-a.zip` -DgeneratePom
PATH=$ORIG_PATH mvn deploy:deploy-file -Durl=$FIXED_REPO_URL \
-Dfile=`fix_path $APPSH_HOME/test/data/app-a.zip` -DgeneratePom \
- -DgroupId=org.example -DartifactId=app-a -Dversion=1.0-SNAPSHOT -Dpackaging=zip
+ -DgroupId=org.example -DartifactId=app-a -Dversion=$version -Dpackaging=zip
}
app() {