Last active
October 17, 2022 09:55
-
-
Save mtovmassian/ed8c98af5e5667349944af83dd41da35 to your computer and use it in GitHub Desktop.
Deploy Jaunt Jar to Gitlab package registry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://jaunt-api.com/download.htm | |
# https://stackoverflow.com/questions/60156835/how-to-deploy-private-jar-to-gitlab-maven-repository* | |
PROJECT_ID="" | |
GITLAB_MAVEN_REPOSITORY="" | |
mvn deploy:deploy-file \ | |
-DgroupId=com \ | |
-DartifactId=jaunt \ | |
-Dversion=1.6.0 \ | |
-Dpackaging=jar \ | |
-Dfile=jaunt1.6.0_2yr.jar \ | |
-DgeneratePom=true \ | |
-Durl=https://gitlab.com/api/v4/projects/"$PROJECT_ID"/packages/maven \ | |
-DrepositoryId="$GITLAB_MAVEN_REPOSITORY" | |
mvn deploy:deploy-file \ | |
-DgroupId=com \ | |
-DartifactId=jauntium \ | |
-Dversion=0.9 \ | |
-Dpackaging=jar \ | |
-Dfile=jauntium0.9.jar \ | |
-DgeneratePom=true \ | |
-Durl=https://gitlab.com/api/v4/projects/"$PROJECT_ID"/packages/maven \ | |
-DrepositoryId="$GITLAB_MAVEN_REPOSITORY" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment