Recently I encountered this weird problem when i was trying to build a project after installing the m2eclipse plugin on my eclipse galileo. Build id: 20100218-1602
The problem was that when i built the project from command line, it was just working fine, however, as soon as I built the project from eclipse, eclipse started complaining with
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-resources-plugin -Dversion=2.4.1 -Dpackaging=maven-plugin -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-resources-plugin -Dversion=2.4.1 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
1 required artifact is missing.
from the specified remote repositories:
central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
The way it is solved for now is that I added the following dependency to my pom.xml and it seems to work
<plugins> <plugin> <groupid>org.apache.maven.plugins</groupid> <artifactid>maven-resources-plugin</artifactid> <version>2.4.2</version> </plugin> </plugins>