questions about always downloading POM when Maven starts a project
Problem Description
The local repository already has the relevant jar package, and the MAVEN project also reports an error, but Tomcat:run when launching the project, always download the POM document on the network, otherwise it will report the failure of the download. Viewing the repository Discovery Pom file also exists, but will still request to download the POM document. workaround Find the folder where the Pom is located, view _maven.repositories or _remote.repositories files to modify the file jar name > repository = found above, you need to change the repository here to your local, This should be used to determine whether the Pom document local repository is the key to the existence of the library name is not available, on behalf of the local repository does not have a POM document modified Pom document, will not take effect immediately, need to go into Eclipse's Maven repositories view, Locate the local repository Rebuild index re-create the indexes, then the problem is resolved.
Note
In the second step, you are prompted for the resource pool name, with the id attribute of the settings.xml mirror.