Skip to content

Commit efdda57

Browse files
committed
add parameter to deploy-functjonal.sh
1 parent 36b423d commit efdda57

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

local-maven-repo/deploy-functjonal.sh

100644100755
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# A simple script for deploying an update of the functjonal library to the local maven repository
2-
mvn deploy:deploy-file -DgroupId=org.variantsync -DartifactId=functjonal -Dversion=1.0-SNAPSHOT -Durl=file:../local-maven-repo/ -DrepositoryId=local-maven-repo -DupdateReleaseInfo=true -Dfile=../src/main/resources/lib/functjonal-1.0-SNAPSHOT.jar
3-
rm -rf ~/.m2/repository/org/variantsync/functjonal/
2+
# The script takes a single argument, the path to the functjonal jar file to deploy
3+
mvn deploy:deploy-file -DgroupId=org.variantsync -DartifactId=functjonal -Dversion=1.0-SNAPSHOT -Durl=file:../local-maven-repo/ -DrepositoryId=local-maven-repo -DupdateReleaseInfo=true -Dfile=$1
4+
rm -rf ~/.m2/repository/org/variantsync/functjonal/

0 commit comments

Comments
 (0)