maven remote repository configuration problem

When packaging the springboot project, the problem as shown in the figure occurred. After looking for the reason, it was found that the configured remote Alibaba Cloud warehouse did not have the required dependency, and the remote warehouse containing the dependency configured in the pom file did 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=325018537&siteId=291194637