创新互联www.cdcxhl.cn八线动态BGP香港云服务器提供商,新人活动买多久送多久,划算不套路!
小编这次要给大家分享的是Maven deploy怎么配置,文章内容丰富,感兴趣的小伙伴可以来了解一下,希望大家阅读完这篇文章之后能够有所收获。
作用
在本地的pom文件配置好之后,执行deploy命令,可以将maven所打的jar包上传到远程的repository,便于其他开发者和工程共享。
pom.xml配置
选,在pom文件中project标签下添加如下代码:
releases Internal Releases http://localhost:8081/nexus/content/repositories/thirdparty releases Internal Releases http://localhost:8081/nexus/content/repositories/thirdparty