maven打包jar时,出现Failed to execute goal on project XXXX: Could not resolve dependencies

Failed to execute goal on project XXXX: Could not resolve dependencies fo 

in http://maven.aliyun.com/nexus/content/groups/public

解决办法

将本项目引用的外部项目重新clean,然后再install 即可

诸如:my-demo项目引用类别的 demo-common项目

则先对demo-common 重新clean,然后再install ,这样再对 my-demo 执行 clean、package就可以了

你可能感兴趣的:(maven打包jar时,出现Failed to execute goal on project XXXX: Could not resolve dependencies)