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

EclipseMojo

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

Eclipse Mojo

The eclipse 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 sets up the deegree formatter
  • it sets up code templates for new files and classes
  • it sets up the XML validation so it can properly validate GML files
  • it switches off global XML validation
  • it copies all files from src/eclipse to .settings

In all cases it is actually merging the properties by first loading the original, then overriding with the default/configured one.

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

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

Clone this wiki locally