其他分享
首页 > 其他分享> > 在Maven中出现Failed to execute goal on project ...Could not find artifact解决办法

在Maven中出现Failed to execute goal on project ...Could not find artifact解决办法

作者:互联网

引入maven仓库包下载不了的做法

在这里插入图片描述
首先maven需要换到自己下载的maven
在这里插入图片描述
然后到自己下载的maven下的setting.xml换仓库路径
在这里插入图片描述

 <mirror>  
      <id>alimaven</id>  
      <name>aliyun maven</name>  
      <url>http://maven.aliyun.com/nexus/content/groups/public/</url>  
      <mirrorOf>central</mirrorOf>          
    </mirror> 

引入自己创建的公共module引入不了

去将parent项目要先install一回,之后子项目就可以运行了

标签:maven,execute,goal,仓库,子项目,project,aliyun,引入,下载
来源: https://blog.csdn.net/zmh_csdn/article/details/122727689