Deployment failed: repository el
2018-07-04 本文已影响63人
Aldeo
在将项目依赖发布到私服的时候报错
Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter -> [Help 1]
原因:没有找到上传路径
解决办法:
<distributionManagement>
<repository>
<id></id>
<name></name>
<url></url>
</repository>
<snapshotRepository>
<id></id>
<name></name>
<url></url>
</snapshotRepository>
</distributionManagement>