Apache Maven Eclipse Plugin

The Eclipse Plugin is used to generate Eclipse IDE files (.project, .classpath and the .settings folder) from a POM.

License

License

Categories

Categories

Eclipse Development Tools IDE Maven Build Tools CLI User Interface
GroupId

GroupId

com.github.marschall
ArtifactId

ArtifactId

eclipse-maven-plugin
Last Version

Last Version

2.12.0
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

Apache Maven Eclipse Plugin
The Eclipse Plugin is used to generate Eclipse IDE files (.project, .classpath and the .settings folder) from a POM.
Project URL

Project URL

http://marschall.github.io/eclipse-maven-plugin/
Source Code Management

Source Code Management

https://github.com/marschall/eclipse-maven-plugin/

Download eclipse-maven-plugin

How to add to project

<plugin>
    <groupId>com.github.marschall</groupId>
    <artifactId>eclipse-maven-plugin</artifactId>
    <version>2.12.0</version>
</plugin>

Dependencies

compile (13)

Group / Artifact Type Version
org.apache.maven : maven-project jar 2.2.1
org.apache.maven : maven-plugin-api jar 2.2.1
org.apache.maven : maven-model jar 2.2.1
org.apache.maven : maven-artifact-manager jar 2.2.1
org.apache.maven : maven-artifact jar 2.2.1
org.apache.maven : maven-core jar 2.2.1
org.apache.maven : maven-settings jar 2.2.1
org.apache.maven.wagon : wagon-provider-api jar 2.12
org.codehaus.plexus : plexus-archiver jar 2.11
org.codehaus.plexus : plexus-utils jar 3.2.0
org.apache.maven : maven-archiver jar 2.6
org.codehaus.plexus : plexus-resources jar 1.1.0
org.eclipse.platform : org.eclipse.core.resources jar 3.13.400

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.6.0

test (11)

Group / Artifact Type Version
org.easymock : easymock jar 4.0.2
commons-io : commons-io jar 2.6
org.jdom : jdom2 jar 2.0.6
jaxen : jaxen jar 1.2.0
org.apache.maven.plugin-testing : maven-test-tools jar 1.3
org.apache.maven.plugin-testing : maven-plugin-testing-tools jar 1.3
org.apache.maven.plugin-testing : maven-plugin-testing-harness jar 1.3
org.apache.maven.shared : maven-invoker jar 3.0.1
junit : junit jar 4.12
org.xmlunit : xmlunit-core jar 2.6.3
org.xmlunit : xmlunit-legacy jar 2.6.3

Project Modules

There are no modules declared in this project.

Eclipse Maven Plugin Maven Central

The Eclipse Plugin is used to generate Eclipse IDE files (.project, .classpath and the .settings folder) from a POM.

This is based on wcm-io-devops/eclipse-maven-plugin which is a fork of the original Maven Eclipse Plugin which was retired end of 2015 in favor of M2Eclipse.

For more information check out the generated plugin page .

Changes since the original Maven Eclipse Plugin 2.10

Changelog

Added

  • support for test folders
  • support for test dependencies, both JAR and project dependencies
  • support for the --release compiler option
  • ignore optional compile problems on attached source folders
  • additional source folders
  • JavaEE 7
  • JavaEE 8
  • Java 9 to 17

Removed

  • all goals except eclipse and clean
  • AJDT support
  • MyEclipse support
  • RAD support

To use this in your projects update all your POMs to use

<plugin>
  <groupId>com.github.marschall</groupId>
  <artifactId>eclipse-maven-plugin</artifactId>
  <version>2.12.0</version>
</plugin>

instead of

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-eclipse-plugin</artifactId>
  <version>2.10</version>
</plugin>

If you add com.github.marschall as a pluginGroup to your ${user.home}/.m2/settings.xml or ${maven.home}/conf/settings.xml

<pluginGroups>
  <pluginGroup>com.github.marschall</pluginGroup>
</pluginGroups>

you will be able to use eclipse:eclipse as a Maven goal directly.

Versions

Version
2.12.0
2.11.2
2.11.1
2.11.0