赞
踩
开发通过jenkins发布jar包到nexus私服,报如下错误:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M1:deploy (default-deploy) on project typhon: ArtifactDeployerException: Failed to deploy artifacts: Could not transfer artifact cn.bjca.footstone:typhon:pom:1.0.1 from/to releases (http://example.nexus.com/repository/releases/): Failed to transfer file: http://example.nexus.com/repository/releases/cn/bjca/footstone/typhon/1.0.1/typhon-1.0.1.pom. Return code is: 400, ReasonPhrase: Bad Request. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M1:deploy (default-deploy) on project typhon: ArtifactDeployerException
<distributionManagement>
<repository>
<id>releases</id>
<name>Nexus Release Repository</name>
<url>${nexusReleaseUrl}</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<name>Nexus Snapshot Repository</name>
<url>${nexusSnapshotUrl}</url>
</snapshotRepository>
</distributionManagement>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。