Last modified by Ulrich Köster on 2010/10/03 00:55

Hide last authors
Paul Hoadley 17.1 1 = Using m2eclipse and woapplication-archetype =
Pascal Robert 5.1 2
Pascal Robert 15.1 3 {{id name="m2eclipse"/}}
Pascal Robert 5.1 4
Ulrich Köster 18.1 5 The tutorial below supposes you already have installed [[m2eclipse>>url:http://m2eclipse.codehaus.org/||shape="rect"]] plug-in. You also have to copy the archetype catalog to your local repository as described [[here>>doc:WOL.Home.WOProject-Maven.woapplication-archetype.WebHome]]. For more information about how to configure Maven to build WebObjects applications, see [[this tutorial>>doc:WOL.Home.WOProject-Maven.Quick Start.WebHome]].
Henrique Prange 7.1 6
Pascal Robert 5.1 7 == Step 1: Create New Maven Project ==
8
Pascal Robert 15.1 9 Select the m2eclipse wizard to create a new Maven Project.[[image:attach:m2eclipse_wizard_1.png]]
Pascal Robert 5.1 10
11 == Step 2: Select the Project Location ==
12
Pascal Robert 15.1 13 Choose the project location for your project.[[image:attach:m2eclipse_wizard_4.png]]
Pascal Robert 5.1 14
15 == Step 3: Select the WebObjects Application Archetype ==
16
Pascal Robert 15.1 17 Select the Local catalog. [[image:attach:m2eclipse_wizard_2.png]]
18 Choose the WebObjects Application archetype as the template for the new project.[[image:attach:m2eclipse_wizard_3.png]]
Pascal Robert 5.1 19
20 == Step 4: Define the Project Properties ==
21
22 Define the properties that best describe the new project (groupId, artifactId, version and package).
23
Pascal Robert 15.1 24 **Note**: use the SNAPSHOT suffix in project's version to identify as in development version. [[image:attach:m2eclipse_wizard_5.png]]
Pascal Robert 5.1 25 You also have to provide 3 specific properties of woapplication-archetype.
26
27 * **WebObjectsVersion**: the WebObjects version.
28 * **WonderSupport**: type 'yes' to add support to Wonder or 'no' otherwise.
29 * **TrueWarSupport**: type 'yes' to add the configuration required to build the application as true WAR or 'no' if you want to build as WOA.
30
Pascal Robert 15.1 31 Finish and you have a WebObjects project following the Maven standard layout.[[image:attach:m2eclipse_wizard_6.png]]