Search code examples
maven-2maven-eclipse-plugin

Unable to load the mojo 'org.apache.maven.plugins:maven-eclipse-plugin:2.6:eclipse'


when we are trying to run mvn eclipse:eclipse from command line, we are getting following error:

Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-eclipse-plugin:2.6:eclipse': Unable to load the mojo 'org.apache.maven.plugins:maven-eclipse-plugin:2.6:eclipse' in the plugin 'org.apache.maven.plugins:maven-eclipse-plugin'. A required class is missing: org/codehaus/plexus/resource/loader/ResourceNotFoundException

any help to solve this is appreciated.

Thanks,


Solution

  • The Apache Maven Eclipse Plugin is RETIRED:

    Users are advised to use m2e, the Eclipse Maven Integration instead of this plugin, as it can more closely resemble the actual build and runtime classpaths as described in the project pom.xml - among other advantages.