maven remote repository configuration problem

When packaging the springboot project, the problem as shown in the figure occurred. I found the reason and found that the configured remote Alibaba Cloud warehouse does not have the required dependencies, and the remote warehouse that contains the dependency configured in the pom file does not work. .

The original remote warehouse configuration is shown in the following figure:

The <mirrorOf> tag is set to *, which means that all dependencies will be searched in the repository of the configuration. If not, they will not be searched.

Change * to external, update the maven dependency again, and the configured repository works.

For the specific configuration of the mirrorOf tag, please check http://blog.csdn.net/isea533/article/details/21560089/

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325018563&siteId=291194637