Created
September 26, 2019 09:15
Star
You must be signed in to star a gist
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
1. View dependency:tree | |
mvn dependency:tree | |
2. install jar to localhost | |
mvn install:install-file -Dfile=/home/ldt/Downloads/hitutils.jar -DgroupId=com.ldt -DartifactId=hit -Dversion=1.0 -Dpackaging=jar | |
3. install jar file to nexus repository | |
mvn deploy:deploy-file -DgroupId=com.ldt \ | |
-DartifactId=hit \ | |
-Dversion=1.0 \ | |
-Dpackaging=jar \ | |
-Dfile=/home/ldt/Downloads/hitutils.jar \ | |
-DrepositoryId=nexus \ | |
-Durl=http://123.24.206.9:9999/repository/maven-releases |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment