The Maven team is pleased to announce the release of the Maven Eclipse
Plugin, version 2.6
This plugin is used to generate Eclipse IDE files (*.classpath,
*.wtpmodules and the .settings folder) for use with a project.
http://maven.apache.org/plugins/maven-eclipse-plugin/You should specify the version in your project's plugin configuration:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.6</version>
</plugin>
Known Issues:
* [MECLIPSE-443] - Only include **/*.java in Java source directories
may affect you if you use ajdt or have non-java sources in your
directories that you expect to be compiled
Release 2.6.1 (which may get renamed to 2.7) has fixed this issue and
will be released shortly.
See
http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&pid=11133&fixfor=15130Release Notes - Maven 2.x Eclipse Plugin - Version 2.6
** Sub-task
* [MECLIPSE-479] - More "contaigner" entries
** Bug
* [MECLIPSE-111] - Additional webResources are not added to the
component list when using WTP projects generation
* [MECLIPSE-150] - [with PATCH] Plugin generates invalid Eclipse
project files when multiproject contains two references to the same
artifact
* [MECLIPSE-206] - IdeUtils.toRelativeAndFixSeparator broken on Windows
* [MECLIPSE-261] - IdeUtils.toRelativeAndFixSeparator returns
incomplete path
* [MECLIPSE-326] - m2eclipse goal does not respect
additionalBuildcommands and additionalProjectnatures defined in pom
* [MECLIPSE-337] - test failure needed to be commented out
* [MECLIPSE-364] - incorrect dependencies with different
projectNameTemplates in submodules
* [MECLIPSE-377] - eclipse:eclipse -DdownloadSources=true
shouldn't attempt download more than once in a multi-project
* [MECLIPSE-397] - Eclipse project set as dependency + test-jar
dependency is included twice in .classpath
* [MECLIPSE-414] - Not beeing @aggregator, eclipse plugin does not
require executedProject
* [MECLIPSE-415] - settings stored in wrong project directory
* [MECLIPSE-418] - OSGi 4 support for "Bundle-SymbolicName"
* [MECLIPSE-419] - Classpath generated by eclipse:myeclipse skip
provided dependencies
* [MECLIPSE-423] - NullPointerException when existing Manifest.MF
file has no Class-Path element
* [MECLIPSE-427] - .springBeans definition throws NullPointer if
BaseDir does not exist
* [MECLIPSE-445] - myeclipse target doesn't generate spring bean
files for hierarchical projects.
* [MECLIPSE-475] - Container mispelling
* [MECLIPSE-486] - ITs dont compare expected files if the IT is a
multi-module project
* [MECLIPSE-488] - InstallPluginsMojo throws NPE if a jar has no manifest
* [MECLIPSE-508] - If base artifact does not exist then the
unavailable cache was incorrectly updated
* [MECLIPSE-509] - Unavailable cache is incorrectly updated to
mark sources/javadoc as not available when downloads option is not
specified
** Improvement
* [MECLIPSE-318] - test classes and resources need to be first in
.classpath file
* [MECLIPSE-437] - Ordering of .classpath entries when using a
newer version of JARs already included in the JDK.
* [MECLIPSE-442] - Classpath container entries should come last in
.classpath
* [MECLIPSE-443] - Only include **/*.java in Java source directories
* [MECLIPSE-493] - Automatically locate workspace
** New Feature
* [MECLIPSE-200] - Please add support for the AJDT plugin
* [MECLIPSE-270] - Add support for classpathentry attributes
* [MECLIPSE-313] - AJDT feature
* [MECLIPSE-387] - download source should accept exclusion of artifact
* [MECLIPSE-504] - Add a new mojo eclipse:remove-cache
** Task
* [MECLIPSE-345] - Split unit tests and integration tests
* [MECLIPSE-349] - Move integration tests in the integration-tests profile
** Test
* [MECLIPSE-502] -
org.apache.maven.plugin.ide.IdeUtilsTest.testToRelativeAndFixSeparator_WhereOnDifferentDrivesAndAbsolutePaths()
fail if drive "D" doesnt exists)
Enjoy,
-The Maven team