diff options
-rw-r--r-- | jh-mvn-basename.sh | 6 | ||||
-rw-r--r-- | jh-mvn-install.sh | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/jh-mvn-basename.sh b/jh-mvn-basename.sh index 7c1d8a1..5b9dad4 100644 --- a/jh-mvn-basename.sh +++ b/jh-mvn-basename.sh @@ -8,9 +8,9 @@ fi mvn_repo="`$jh_cmd mvn-localrepo`" -mvn_groupId=$0 -mvn_artifactId=$1 -mvn_version=$2 +mvn_groupId=$1 +mvn_artifactId=$2 +mvn_version=$3 dir="${mvn_repo}/${mvn_groupId}/${mvn_artifactId}/${mvn_version}" file="${mvn_artifactId}-${mvn_version}" diff --git a/jh-mvn-install.sh b/jh-mvn-install.sh index 84b0fc4..2be9cce 100644 --- a/jh-mvn-install.sh +++ b/jh-mvn-install.sh @@ -7,8 +7,8 @@ if [[ $# != 5 ]]; then fi base="`$jh_cmd mvn-basename $1 $2 $3" -jarfile=$3 -pomfile=$4 +jarfile=$4 +pomfile=$5 dir="${base%/*}" install -d "${DESTDIR}${dir}" |