首页 > 代码库 > maven nexus 3 third party 构件上传

maven nexus 3 third party 构件上传

技术分享

技术分享

技术分享

mvn -e deploy:deploy-file -DgroupId=com.oracle -DartifactId=JDBCDriver -Dversion=12.0.1 -Dpackaging=jar -Dfile=E:\Oracle.jar -Durl=http://localhost:8081/repository/third-party/ -DrepositoryId=third-party

 注意:<server><id>third-party</id><username>admin</username><password>admin123</password></server>中的id名称"third-party"一定要和mvn deploy命令中的-DrepositoryId="third-party"一致,为仓库名称;username和password为nexus登录的用户名和密码。

maven nexus 3 third party 构件上传