maven 发布本地jar包到私库

mvn deploy:deploy-file -DgroupId=com.my.test -DartifactId=test-jar -Dversion="1.1.0-RELEASE" -Dpackaging=jar -Dfile=E:\test-jar-1.1.0-RELEASE.jar -Durl=https://0.0.0.0/repository/my-release/ -DrepositoryId=my-release

mvn deploy:deploy-file

-DgroupId=com.my.test

-DartifactId=test-jar

-Dversion="1.1.0-RELEASE"

-Dpackaging=jar

-Dfile=E:\test-jar-1.1.0-RELEASE.jar

-Durl=https://0.0.0.0/repository/my-release/ -DrepositoryId=my-release

你可能感兴趣的:(maven,jar,linux)