Maven project, Maven-install always have this error, the gas is dead,
Access to the data finally found a solution:
Reason
This is due to a missing Maven-resources-plugin-2.4.3.jar file. This file is under {user.home}\.m2\repository\org\apache\maven\plugins\maven-resources-plugin\. {User.home} is the configuration path for MAVEN, usually my document, which is the local Repository inside Window-preferences-myeclipse-maven4myeclipse-user setting.
Solution Solutions
1. Add Maven-resources-plugin configuration to the Pom.xml file
1 <Dependency>2 <groupId>Org.apache.maven.plugins</groupId>3 <Artifactid>Maven-resources-plugin</Artifactid>4 <version>2.4.3</version>5 </Dependency>
2, run under the command line mvn install
, if executed correctly should be in {user.home}\.m2\repository\org\apache\maven\plugins\maven-resources-plugin\ See the Maven-resources-plugin-2.4.3.jar file below
3. Refresh Project (right-click Project Selection Refresh Item)
4. Refresh Maven configuration, right-click project node, select Maven4myeclipse-update Project config
Eclipse loading Maven Engineering tip Pom.xml Unable to resolve org.apache.maven.plugins:maven-resources-plugin:2.4.3 solution