maven deploy私服仓库报错
Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-
deploy) on project dengkun-parent: Failed to deploy artifacts: Could not transfer artifact
com.dengkun:dengkun-parent:pom:1.0 from/to nexus
(http://192.168.33.197:8081/repository/maven-releases/): Failed to transfer file:
http://192.168.33.197:8081/repository/maven-releases/com/dengkun/dengkun-
parent/1.0/dengkun-parent-1.0.pom. Return code is: 400, ReasonPhrase: Repository does not
allow updating assets: maven-releases.
原因:release版本相同名称只能改一次,snapshot版本可以多次修改。
应该改为快照版本