maven deploy 400错误
2016-05-20 本文已影响1408人
stepyu
[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
版本