We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36b423d commit efdda57Copy full SHA for efdda57
1 file changed
local-maven-repo/deploy-functjonal.sh
100644
100755
@@ -1,3 +1,4 @@
1
# 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/
+# The script takes a single argument, the path to the functjonal jar file to deploy
+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