Anything to do with Eclipse and Maven Integration.
Including, but not limited to:
- Maven user's perspective: setting up an Eclipse Project derived from Maven's pom.xml
- Maven developer's perspective: debugging Maven in Eclipse
- Eclipse developer 's perspective: creating Eclipse artifacts (plugins, fragments, features, products, update sites, etc) via Maven
And any discussions needed to work out the design of how to get all this done and work with existing communities to pull this all together
see also: mevenide2-netbeans, maven-idea-plugin, Idea integration, ...
Maven user
These plugins provide varying levels of support Maven Integration into Eclipse Workbench
|
Maven Integration for Eclipse (m2eclipse) |
||
|---|---|---|---|
Project info |
|
|
|
releases |
12/2005 - 2.0 |
05/2006 - 0.0.9 |
08/2007 - 0.2.0 |
Open Source, License |
|
|
|
Mailing lists |
Maven lists (no dedicated ones) |
||
issue tracking |
Jira MECLIPSE |
Jira MNGECLIPSE |
|
wiki |
|
||
Maven version |
any |
2.1-SNAPSHOT |
2.1-SNAPSHOT |
hosting |
|||
Features |
|
|
|
running Maven goals from the IDE |
n/a |
|
|
Ability to cancel Maven builds |
n/a |
|
|
Ability to filter Maven output (info,debug,error,downloads,...) |
n/a |
|
|
Automatic Eclipse classpath synchronized with Maven POM |
n/a |
|
|
Resolving dependencies from Eclipse Workspace |
|
|
|
Automatic downloading of project dependencies when POM changed |
|
|
|
Automatic downloading of dependency sources |
|
|
|
Dependency graph |
n/a |
|
|
Dependency analysis (find excluded, omitted, duplicated,... dependencies) |
CLI [1] |
|
|
New Maven 2 project wizard using archetypes |
CLI |
|
|
Customizable list of archetypes (for new project wizard) |
CLI |
|
|
Import of Maven 2 projects |
n/a |
|
|
Maven 2 projects checked out from VCS imported correctly (explain what does this mean) |
|
|
|
Quick search dependencies on Central Maven repo |
n/a |
|
|
Quick search dependencies on Local Maven repo |
n/a |
|
|
Quick Add dependency to POM |
n/a |
|
|
Quick Fix in Java editor for missing dependencies |
n/a |
|
|
Basic integration with Subclipse (checkout from SVN Repositories) |
n/a |
|
|
Basic integration with Mylyn |
n/a |
|
|
Basic integration with WTP |
|
|
|
Debug Maven core and plugins |
|
|
|
Debug tests launched from Maven |
|
|
[1] maven-dependency-plugin provides number of goals that can be used for extensive dependency analysis
Maven developer
Debug Maven using Standalone Maven install
First of all you need to get corresponding Maven projects into the Eclipse workspace.
To debug Maven standalone Maven CLI you can set the following environment variable:
Then start Maven as usual and attach remote debugger to Maven process on port 8000 using Eclipse's "Remote Java Application" configuration.
Alternatively you could create the following "Java Application" launch configuration and launch it directly from Eclipse:
Main class |
org.codehaus.classworlds.Launcher |
classpath |
%M2_HOME%\boot\classworlds-1.1.jar |
VM arguments |
-Dclassworlds.conf=%M2_HOME%\bin\m2.conf |
Program arguments |
<maven cli arguments> |
Debug Maven using m2eclipse
With m2eclipse you can debug Maven core and Maven plugins while running goals using m2eclipse's "Maven Build" external tools launch configuration (or from Run As / Maven * shortcut from the popup menus). Simply put a break point in the corresponding classes and switch to the Debugger perspective.
You can also configure Maven surefire plugin to not fork new JVM to run tests and then you can even debug test classes launched using "Run As / Maven test" shortcut:
Eclipse developer
Building Eclipse Plugins with Maven 2: http://www.eclipse.org/articles/article.php?file=Article-Eclipse-and-Maven2/index.html
Integrate the Eclipse Web Tools Platform and Maven with m2eclipse: http://www.devx.com/Java/Article/36785
These plugins provide varying levels of support for building Eclipse artifacts with Maven
- OSGi stuff (deprecated)
- pde maven plugin: http://mojo.codehaus.org/pde-maven-plugin/
Other (or to be categorized)
- Felix bundle
