Eclipse Plugin Goals dIon Gillard eclipse The default goal. This goal simply executes the eclipse:generate-project and eclipse:generate-classpath goals. eclipse:generate-project Generates a .project file for eclipse describing the project and 'marking' it as a java project eclipse:generate-classpath Generates a .classpath file for the eclipse project with classpath entries for
  1. the build source directory
  2. the build unit test source directory
  3. the JRE being used
  4. the appropriate version of JUnit
  5. each Maven project dependency
  6. an output directory for compiled code: target\classes
eclipse:external-tools

Generates an external tool entry for each default goal available to a Maven project into a file named externaltools.xml

If the ${maven.eclipse.workspace} property is set, the file is copied to the correct location within that workspace

If the ${maven.eclipse.workspace} is not set, the file is created in the current directory, and should be manually copied to ${eclipse workspace}/.metadata/.plugins/org.eclipse.ui.externaltools/externaltools.xml

eclipse:external-tools-21

Generates an external tool file for each default goal available to a Maven project into the ${maven.build.dir}/eclipse/ directory

If the ${maven.eclipse.workspace} property is set, the file is copied to the correct location within that workspace

If the ${maven.eclipse.workspace} is not set, the files should be manually copied to ${your eclipse workspace}/.metadata/.plugins/org.eclipse.debug.core/.launches/

eclipse:add-maven-repo Ensures that the classpath variable MAVEN_REPO exists in the Eclipse environment.
The
${maven.eclipse.workspace} property must be set for this to succeed, and Eclipse must not be running.