You may be hitting into the issue with Maven plugin snapshots been deleted from Apache Maven repository.
By default, m2eclipse is using Maven 2.1 snapshot and that is probably where snapshot plugin version came from. However, you can configure external Maven instance to be used to run Maven build from the IDE. So, you can get the same results as in the command line. See Maven preferences for that.
The main problem there is actually not even with Apache repository, but in your own build, which does not specify plugin versions you are using. I would really recommend to run mvn help:effective-pom from the command line, then take plugin versions from the shown pom and put them into the <pluginManagement> section of the parent pom of your own project. This way you can be sure that build would always use the same plugin versions, regardless if it runs from the command line or IDE, even after you update Maven version.
regards, Eugene get_it_done wrote:
I have a project which I am trying to build. When I use Maven-Eclispe plugin, Maven-install task It gives the following exception: [WARN] Failed to load plugin: org.apache.maven.plugins:maven-resources-plugin. Adding to late-bound plugins list. Reason: Failed to load plugin. Reason: The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found Is it regarding, the maven compiler plugin version?
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
