Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on p

来源:互联网 发布:吉利知豆电动汽车价格 编辑:程序博客网 时间:2024/06/06 02:01

抛出这个异常是因为,我们拉下来本地的依赖需要上传到我们的服务器!但在我们的pom.xml 文件里面没有配置服务器的地址,所有会抛出这个异常!在地址未配正确的时候也会抛出,所以配置的时候要细心检查!


  解决方案:


      

<distributionManagement>    <repository>        <id>releases</id>        <url>http://******:8080/nexus/content/repositories/releases</url>    </repository>    <snapshotRepository>        <id>snapshots</id>        <url>http://******:8888/nexus/content/repositories/snapshots</url>    </snapshotRepository></distributionManagement>

阅读全文
0 0
原创粉丝点击