解决maven install 时 依赖的本地jar无法找到的问题

maven install报错如下:(文章中的xxx指的是你的jar名字)

Failed to execute goal on project xxxx: Could not resolve dependencies for project xxxx:war:1.0.0: Failed to collect dependencies at xxxxxx:jar:1.2.0: Failed to read artifact descriptor for xxx:xxxx:jar:1.2.0: Failure to find xxx:2.0.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 ali has elapsed or updates are forced -> [Help 1]

解决办法:

找到本地仓库jar对应的目录,修改_remote.repositories文件里的xxx.pom>=为xxx.pom>nexus=

 

 

 

from :https://www.cnblogs.com/rjsky/p/13476117.html

posted @ 2022-08-04 15:30  L云烟成雨  阅读(1153)  评论(0)    收藏  举报