commit 8615d42574dd2cd38f65494c799081a24ebe5cf4 Author: Mauro Talevi <mauro.tal...@aquilonia.org> AuthorDate: Mon Jul 9 20:04:14 2012 +0200 Commit: Mauro Talevi <mauro.tal...@aquilonia.org> CommitDate: Mon Jul 9 20:04:14 2012 +0200
Assume mvn is in path. diff --git a/jbehave-eclipse/download-lib.sh b/jbehave-eclipse/download-lib.sh index 10d6acb..eec34a6 100755 --- a/jbehave-eclipse/download-lib.sh +++ b/jbehave-eclipse/download-lib.sh @@ -1,4 +1,4 @@ #!/bin/bash -$MVN_HOME/bin/mvn org.apache.maven.plugins:maven-dependency-plugin:2.4:copy-dependencies -forg.jbehave.eclipse/pom.xml -Ddest=org.jbehave.eclipse/lib +mvn org.apache.maven.plugins:maven-dependency-plugin:2.4:copy-dependencies -forg.jbehave.eclipse/pom.xml -Ddest=org.jbehave.eclipse/lib diff --git a/jbehave-eclipse/upload-repository.sh b/jbehave-eclipse/upload-repository.sh index 0cd9d94..2d6c2ed 100755 --- a/jbehave-eclipse/upload-repository.sh +++ b/jbehave-eclipse/upload-repository.sh @@ -23,7 +23,7 @@ if [ "$PATH" != "" ] ; then fi VERSIONED_REFERENCE="$REFERENCE/$VERSION" -$MVN_HOME/bin/mvn org.apache.maven.plugins:maven-dependency-plugin:2.4:get -Dartifact=$ARTIFACT_FULL -Dtransitive=false -Ddest=target/$ZIPPED_ARTIFACT +mvn org.apache.maven.plugins:maven-dependency-plugin:2.4:get -Dartifact=$ARTIFACT_FULL -Dtransitive=false -Ddest=target/$ZIPPED_ARTIFACT /usr/bin/scp target/$ZIPPED_ARTIFACT jbehave.org:uploads/ /usr/bin/ssh jbehave.org "rm -rf $VERSIONED_ARTIFACT; unzip -q -d $VERSIONED_ARTIFACT uploads/$ZIPPED_ARTIFACT; rm -r $VERSIONED_REFERENCE; mv $VERSIONED_ARTIFACT $VERSIONED_REFERENCE; cd $REFERENCE; rm $QUALIFIER; ln -s $VERSION $QUALIFIER"