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

689 Views Asked by At

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,

1

There are 1 best solutions below

0
Gerold Broser On BEST ANSWER

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.