今天mvn clean package一个子工程(renren-admin)时报错:

Failed to execute goal on project renren-admin: Could not resolve dependencies for project io.renren:renren-admin:war:3.2.0: Failed to collect dependencies at io.renren:renren-common:jar:3.2.0: Failed to read artifact descriptor for io.renren:renren-common:jar:3.2.0: Failure to find io.renren:renren-security:pom:3.2.0 in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]

无法找到renren-common:jar:3.2.0

这个jar包是项目中的另一个平级的子工程。

解决办法:

先打包父工程:mvn -X clean install   再重新打包子工程renren-admin,打包成功。

 

参考文章

https://www.oschina.net/question/143808_156035

 

相关文章:

  • 2021-12-01
  • 2021-11-10
  • 2021-11-24
  • 2022-03-01
  • 2021-12-27
  • 2021-10-07
  • 2022-12-23
  • 2021-11-28
猜你喜欢
  • 2022-12-23
  • 2021-12-25
  • 2021-12-19
  • 2022-12-23
  • 2022-01-14
  • 2021-09-17
相关资源
相似解决方案