Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "M2E-WTP-Dev Environment"

(corrected the default eclipse build platform : juno)
Line 8: Line 8:
  
 
* Download and unpack the Eclipse Juno JavaEE distribution http://download.eclipse.org/eclipse/downloads/ (Indigo is expected to work).
 
* Download and unpack the Eclipse Juno JavaEE distribution http://download.eclipse.org/eclipse/downloads/ (Indigo is expected to work).
* Install m2e 1.1 from http://download.eclipse.org/technology/m2e/releases/, including  the semi-hidden m2e SDK feature (uncheck "Group items by category" to see it).
+
* Install m2e 1.2 from http://download.eclipse.org/technology/m2e/releases/, including  the semi-hidden m2e SDK feature (uncheck "Group items by category" to see it).
 
* Install commons-io 2.0.1 from the Orbit repository http://download.eclipse.org/tools/orbit/downloads/drops/R20120526062928/repository/ [Required to build the test projects]
 
* Install commons-io 2.0.1 from the Orbit repository http://download.eclipse.org/tools/orbit/downloads/drops/R20120526062928/repository/ [Required to build the test projects]
 
* Install the mavenarchiver plugin from m2e's discovery catalog : Window > Preferences > Maven > Discovery > Open Catalog...  
 
* Install the mavenarchiver plugin from m2e's discovery catalog : Window > Preferences > Maven > Discovery > Open Catalog...  
Line 21: Line 21:
  
 
This will build m2e-wtp against the '''juno''' platform.
 
This will build m2e-wtp against the '''juno''' platform.
* Alternatively, execute the following to build against other platforms (helios, indigo and juno are supported)
+
* Alternatively, execute the following to build against other platforms (helios, indigo, juno and kepler are supported)
 
     mvn clean install -Declipse.target=<platformId>
 
     mvn clean install -Declipse.target=<platformId>
  

Revision as of 14:14, 29 December 2012

M2E-WTP
Website
Download
Community
Mailing ListForumsIRCmattermost
Issues
OpenHelp WantedBug Day
Contribute
Browse Source

Clone m2e-wtp and m2e-wtp-tests

Build m2e-wtp within Eclipse

Build m2e-wtp via command line

   mvn clean install

This will build m2e-wtp against the juno platform.

  • Alternatively, execute the following to build against other platforms (helios, indigo, juno and kepler are supported)
   mvn clean install -Declipse.target=<platformId>

The very first build should be *very* long (tens of minutes), as maven will need to download all the build pre-requisites from internet. Subsequent builds can be sped up by going offline :

   mvn clean install -o

Change directory to go under m2e-wtp-tests and execute :

   mvn clean install

Back to the top