Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.

EclipseProjectLinkerMojo

Andreas Schmitz edited this page Jan 7, 2013 · 1 revision

EclipseProjectLinker Mojo

The eclipse project linker mojo can be used to set up maven projects for easy import in the eclipse IDE. It is meant to be used in conjunction with the standard eclipse plugin for maven and performs some additional config:

  • it optionally sets up the formatter
  • it tries to link individual projects from the checkout into a flat list directly in the eclipse workspace

It supports the following configuration properties:

  • eclipse.workspace: must point to the eclipse workspace directory
  • eclipse.formatter: optional, may be deegree or eclipse120 (eclipse120 refers to the standard eclipse formatter, adapted to max line length of 120)
  • eclipse.junction: optional, can point to the junction.exe, see http://technet.microsoft.com/en-gb/sysinternals/bb896768

Use it like this (this example also uses the standard eclipse plugin):

mvn -Declipse.workspace=$HOME/workspace -Declipse.formatter=deegree -DdownloadSources=true -DdownloadJavadocs=true -Dwtpversion=2.0 eclipse:clean eclipse:eclipse org.deegree:deegree-maven-plugin:1.17:create-links

Clone this wiki locally