maven 项目deploy报400错误解决 原

如下图将 Deployment policy 设置为 Allow Redeploy

-------------------

另,自动部署到nexus:

在项目pom.xml中添加

    <distributionManagement>
        <repository>
            <id>thirdparty</id>
            <url>http://nexusIP地址:8081/nexus/content/repositories/thirdparty</url>
        </repository>
    </distributionManagement>

其中 thirdparty 为.xml 中配置的服务器ID

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章