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

From version 6.1
edited by Pascal Robert
on 2010/10/03 00:55
Change comment: There is no comment for this version
To version 7.1
edited by Henrique Prange
on 2008/06/15 21:31
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.probert
1 +XWiki.hprange
Content
... ... @@ -1,25 +1,31 @@
1 -= Using m2eclipse and woapplication-archetype {{id value="m2eclipse"}}{{/id}} =
1 += Using Apple Plug-in =
2 2  
3 -The tutorial below supposes you already have installed [[m2eclipse>>http://m2eclipse.codehaus.org/]] plug-in. You also have to copy the archetype catalog to your local repository as described [[here>>WOL:woapplication-archetype]]. For more information about how to configure Maven to build WebObjects applications, see [[this tutorial>>WOL:Quick Start]].
3 +More information [[here>>Apple Maven Nightly Builds]].
4 4  
5 += Using m2eclipse and woapplication-archetype =
6 +
7 +The tutorial below supposes you already have installed [[m2eclipse>>http://m2eclipse.codehaus.org/]] plug-in. You also have to copy the archetype catalog to your local repository as described [[here>>woapplication-archetype]]. For more information about how to configure Maven to build WebObjects applications, see this tutorial.
8 +
5 5  == Step 1: Create New Maven Project ==
6 6  
7 -Select the m2eclipse wizard to create a new Maven Project. [[image:m2eclipse_wizard_1.png||align="center"]]
11 +Select the m2eclipse wizard to create a new Maven Project.
8 8  
9 9  == Step 2: Select the Project Location ==
10 10  
11 -Choose the project location for your project. [[image:m2eclipse_wizard_4.png||align="center"]]
15 +Choose the project location for your project.
12 12  
13 13  == Step 3: Select the WebObjects Application Archetype ==
14 14  
15 -Select the Local catalog. [[image:m2eclipse_wizard_2.png||align="center"]]
16 -Choose the WebObjects Application archetype as the template for the new project. [[image:m2eclipse_wizard_3.png||align="center"]]
19 +Select the Local catalog.
17 17  
21 +Choose the WebObjects Application archetype as the template for the new project.
22 +
18 18  == Step 4: Define the Project Properties ==
19 19  
20 20  Define the properties that best describe the new project (groupId, artifactId, version and package).
21 21  
22 -**Note**: use the SNAPSHOT suffix in project's version to identify as in development version. [[image:m2eclipse_wizard_5.png||align="center"]]
27 +**Note**: use the SNAPSHOT suffix in project's version to identify as in development version.
28 +
23 23  You also have to provide 3 specific properties of woapplication-archetype.
24 24  
25 25  * **WebObjectsVersion**: the WebObjects version.
... ... @@ -26,4 +26,10 @@
26 26  * **WonderSupport**: type 'yes' to add support to Wonder or 'no' otherwise.
27 27  * **TrueWarSupport**: type 'yes' to add the configuration required to build the application as true WAR or 'no' if you want to build as WOA.
28 28  
29 -Finish and you have a WebObjects project following the Maven standard layout. [[image:m2eclipse_wizard_6.png||align="center"]]
35 +{{warning}}
36 +
37 +At time of writing, the m2eclipse wizard didn't support default value for these properties. So, you always have to provide them.
38 +
39 +{{/warning}}
40 +
41 +Finish and you have a WebObjects project following the Maven standard layout.