Maven remote repositories issue summary

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/qq125281823/article/details/89446276

Scene:
1) maven project need to use some kind of BO business, because the business is not like BO maven jar fight, by Ant is packaged, so the installation of a local jar maven local repository, the situation can not be installed appears.
2 ) at the same time as the package in the private warehouse is not the latest version, and has deleted the jar, while the local package requires the latest version of dependent BO.
3) the Eclipse local rely on to find the jar package in the maven local repository.
requirements:
manually responsible jar package to the local maven repository in a hierarchical relationship, create a file path
problem:
arise downloaded from a remote private warehouse, but can not download, can only be downloaded each time a file .pom.lastupdate ending.
solution:
in copy the file or directory, you need to have a _remote. document, a copy of which come from other dependencies, in accordance with the contents inside reference to modify it.

Guess you like

Origin blog.csdn.net/qq125281823/article/details/89446276