nexus私有仓库构建踩坑

问题

Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project xx-spring-boot-dependencies: Failed to deploy artifacts: Could not transfer artifact cn.sensorsdata.xx:xx-spring-boot-dependencies:pom:v1.0.0 from/to xx-releases (http://example/repository/xx-snapshots/): transfer failed for http://example.com/repository/xx-snapshots/cn/sensorsdata/xx/xx-spring-boot-dependencies/v1.0.0/xx-spring-boot-dependencies-v1.0.0.pom, status: 400 Repository version policy: SNAPSHOT does not allow version: v1.0.0

解决

  • 删除“xx-snapshots”仓库重新创建,(具体原因等待有时间了进一步查证)
Author: suce
Link: https://haoubox.cn/2021/05/15/nexus私有仓库构建踩坑/
Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.