Solve the problem that the dependent local jar cannot be found during maven install

The maven install error is as follows: (xxx in the article refers to your jar name)

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]

Solution:

Find the directory corresponding to the local warehouse jar, and modify xxx.pom>= in the _remote.repositories file to xxx.pom>nexus=

 

Guess you like

Origin blog.csdn.net/u011207400/article/details/130334194