Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 78 Next »

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 eclipse plugin

Maven Integration for Eclipse (m2eclipse)
Eclipse proposal

q4e
Eclipse proposal

Project info

 

 

 

releases

12/2005 - 2.0
02/2006 - 2.1
04/2006 - 2.2
01/2007 - 2.3
07/2007 - 2.4

05/2006 - 0.0.9
01/2007 - 0.0.10
09/2007 - 0.0.11
10/2007 - 0.0.12
03/2008 - 0.9.0, 0.9.1
04/2008 - 0.9.2, 0.9.3
05/2008 - 0.9.4 details
| 08/2007 - 0.2.0
11/2007 - 0.3.0
01/2008 - 0.4.0
03/2008 - 0.5.0 details
04/2008 - 0.6.0 details
05/2008 - 0.6.1
06/2008 - 0.7.0 details

Open Source, License

(tick) Apache V2

(tick) EPL 1.0

(tick) EPL 1.0

Number of committers (active)


stats

10 (7) stats

Mailing lists

Maven lists (no dedicated ones)

users, developers, commits

users, developers, commits

issue tracking

Jira MECLIPSE

Jira MNGECLIPSE

Google issues

wiki


Confluence

Google wiki

Maven version

any

any

2.1-SNAPSHOT why

hosting

Apache

Codehaus, Sonatype

Google

Required Java version

1.4+

1.4+

1.5+

Supported Eclipse version

n/a

3.2, 3.3, 3.4

3.3, 3.4

Features

 

 

 

running Maven goals from the IDE

n/a

(tick)

(tick)

chose Maven version to run goals

n/a

(tick)

(error) why

allow to select/search goals to run

n/a

(tick)

(tick)

Ability to cancel Maven builds

n/a

(tick) "stop" from Console view

(tick)

Ability to filter Maven output (info,debug,error,downloads,...)

n/a

(tick) "Debug Output" setting

(tick)

Automatic Eclipse classpath synchronized with Maven POM

n/a

(tick) details

(tick)

Resolving dependencies from Eclipse Workspace


(tick) details

(tick) details

Resolving dependencies from Eclipse Workspace for externally launched Maven


(tick) details

(error) why

Support resource filtering

(tick)

(tick) details

(tick) details

Automatic downloading of project dependencies when POM changed


(tick) details

(tick)

Automatic downloading of dependency sources


(tick) details

(tick)

Manual downloading sources for any jars


(tick) details

(error)

Attaching custom sources and javadocs to Maven dependencies

(tick)

(tick) details

(error)

Dependency graph

n/a

(error)

(tick) details

Dependency analysis UI (find excluded, omitted, duplicated,... dependencies)

n/a [1]

(error)

(tick) details

Dependency management UI (force version, exclude dependency)

n/a

(error)

(tick) details

New Maven 2 project wizard using archetypes

CLI

(tick) details

(tick)

Extensible archetype list sources (for new project wizard)

CLI

(tick)

(tick)

New Maven Module wizard

n/a

(tick)

(error)

Import local Maven 2 projects

CLI [2]

(tick) details

(tick) details

Import Maven 2 projects from VCS (CVS, SVN, etc)


(tick) details

(error)

Import Maven 2 projects from Maven artifacts


(tick) details

(error)

Search and view artifact POMs from remote repositories

n/a

(tick)

(tick)

Completion in POM XML editor

 

(tick)

(tick)

Configurable templates in POM XML editor

 

(tick)

(error)

Ctrl-click navigation in POM XML editor

 

(tick)

(error)

Navigation to pom, project, issue tracker, scm and ci sites from artifacts

 

(tick) details

(error)

Browse content of remote repositories offline


(tick) details

(error)

Quick search dependencies from remote Maven repos

n/a

(tick) details

(tick)

Quick search dependencies on Local Maven repo

n/a

(tick) details

(tick)

Quick Add dependency to POM

n/a

(tick) details

(tick)

Quick Fix in Java editor for missing dependencies

n/a

(tick) details

(error)

Search and view classes from the artifacts in remote repositories

n/a

(tick)

(error)

Basic integration with Subclipse (checkout from SVN Repositories)

n/a

(tick) details

(error)

Basic integration with Subversive (checkout from SVN Repositories)

n/a

(tick) details

(error)

Basic integration with Maven SCM (checkout from CVS, SVN, Git, Mercurial and others)

n/a

(tick) details

(error)

Basic integration with Mylyn

n/a

(tick) details

(error)

Basic integration with WTP

CLI [2]

(tick) details

(tick) details

Basic integration with AJDT


(tick) details

(error)

Debug Maven core and plugins


(tick) details

(tick) details

Debug tests launched from Maven


(tick) details

(tick) details

Debug Maven plugins from Eclipse Workspace


(tick) details

(tick) details

[1] maven-dependency-plugin provides number of goals that can be used for extensive dependency analysis
[2] maven-eclipse-plugin allow to generate eclipse project metadata, so project can be imported using import existing project wizard

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
-Dmaven.home=%M2_HOME%

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:

Debug Maven using Q4E

Q4E launches Maven in process, not in a new jvm for c. For debugging you'll need a second jvm running in debug mode.

The easiest way to debug both Q4E, Maven and everything run by both of them is to launch a new Eclipse workspace in Debug mode.
Go to Run - Debug and create a new Eclipse Application
In the plugins tab make sure you select all Q4E plugins and click add required plugins
A new Eclipse is launched in debug mode and you could run any Maven goal through the Run - Run Menu, new Maven 2 configuration. Breakpoints in the original Eclipse will be used. Surefire should be configured not to fork the tests in this case.

If you just want to debug tests run by Maven you could configure Surefire plugin to fork with this jvm parameters

When launching a goal that runs the tests the execution will stop just before and you can go to Run - Debug - New Remote Application attaching the remote debugger to port 8000.

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

Other (or to be categorized)

  • Felix bundle
  • No labels