summaryrefslogtreecommitdiff
path: root/publish.sh
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:24:21 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:24:21 +0000
commite790760a6ea3409fca0deefc9d2d338be52183d6 (patch)
tree54937845ea15ee95d75eddc16e4e873ecc826f27 /publish.sh
parenta58079ea355e29c7daf65a0b7a31fd1e698186e7 (diff)
downloadpdf-over-e790760a6ea3409fca0deefc9d2d338be52183d6.tar.gz
pdf-over-e790760a6ea3409fca0deefc9d2d338be52183d6.tar.bz2
pdf-over-e790760a6ea3409fca0deefc9d2d338be52183d6.zip
Add pkcs11-sign profile to sign using token
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@303 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'publish.sh')
-rwxr-xr-xpublish.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/publish.sh b/publish.sh
index 7b04941f..6576e8f7 100755
--- a/publish.sh
+++ b/publish.sh
@@ -24,6 +24,8 @@ TNORMAL="\033[0;39m"
COLS=$(tput cols)
+MVN_PARAMS="$@"
+
function begin_phase {
MSG=$@
printf "$MSG"
@@ -52,7 +54,7 @@ for (( i = 0 ; i < ${#names[@]} ; i++ )) do
NAME=${names[$i]}
INSTALLER=setup_pdfover_$NAME.jar
begin_phase "Building package [$PROFILE] as $INSTALLER..."
- mvn install -P$PROFILE > $LOG_DIR/build_$NAME.log 2>&1
+ mvn install -P$PROFILE $MVN_PARAMS > $LOG_DIR/build_$NAME.log 2>&1
RETVAL=$?
if [ $RETVAL -eq 0 ]; then
end_phase "OK"