maven deploy 400错误

作者: stepyu | 来源:发表于2016-05-20 11:07 被阅读1408次
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project xxx: Failed to deploy artifacts: Could not transfer artifact xxx:xxx:pom:1.3-RELEASE from/to releases (http://192.168.xxx.xxx:8081/nexus/content/repositories/release/): Failed to transfer file: http://192.168.xxx.xxx:8081/nexus/content/repositories/release/xxx/1.3-RELEASE/sfs-1.3-RELEASE.pom. Return code is: 400, ReasonPhrase: Bad Request.
    

    这是由于,maven 不允许重复向release仓库中deploy相同的文件,
    解决办法,修改release版本

    相关文章

      网友评论

        本文标题:maven deploy 400错误

        本文链接:https://www.haomeiwen.com/subject/lvcnrttx.html