Wiki source code of Maven Create WO Application Project
Version 11.1 by Henrique Prange on 2008/06/15 21:43
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
7.1 | 1 | = Using Apple Plug-in = |
![]() |
5.1 | 2 | |
![]() |
7.1 | 3 | More information [[here>>Apple Maven Nightly Builds]]. |
![]() |
5.1 | 4 | |
![]() |
11.1 | 5 | = Using m2eclipse and woapplication-archetype = |
![]() |
7.1 | 6 | |
![]() |
9.1 | 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>>Quick Start]]. |
![]() |
7.1 | 8 | |
![]() |
5.1 | 9 | == Step 1: Create New Maven Project == |
10 | |||
![]() |
11.1 | 11 | Select the m2eclipse wizard to create a new Maven Project. |
![]() |
5.1 | 12 | |
![]() |
11.1 | 13 | [[image:m2eclipse_wizard_1.png||align="center"]] |
14 | |||
![]() |
5.1 | 15 | == Step 2: Select the Project Location == |
16 | |||
![]() |
11.1 | 17 | Choose the project location for your project. |
![]() |
5.1 | 18 | |
![]() |
11.1 | 19 | [[image:m2eclipse_wizard_4.png||align="center"]] |
20 | |||
![]() |
5.1 | 21 | == Step 3: Select the WebObjects Application Archetype == |
22 | |||
![]() |
11.1 | 23 | Select the Local catalog. |
![]() |
5.1 | 24 | |
![]() |
11.1 | 25 | [[image:m2eclipse_wizard_2.png||align="center"]] |
26 | |||
27 | Choose the WebObjects Application archetype as the template for the new project. | ||
28 | |||
29 | [[image:m2eclipse_wizard_3.png||align="center"]] | ||
30 | |||
![]() |
5.1 | 31 | == Step 4: Define the Project Properties == |
32 | |||
33 | Define the properties that best describe the new project (groupId, artifactId, version and package). | ||
34 | |||
![]() |
11.1 | 35 | **Note**: use the SNAPSHOT suffix in project's version to identify as in development version. |
36 | |||
37 | [[image:m2eclipse_wizard_5.png||align="center"]] | ||
38 | |||
![]() |
5.1 | 39 | You also have to provide 3 specific properties of woapplication-archetype. |
40 | |||
41 | * **WebObjectsVersion**: the WebObjects version. | ||
42 | * **WonderSupport**: type 'yes' to add support to Wonder or 'no' otherwise. | ||
43 | * **TrueWarSupport**: type 'yes' to add the configuration required to build the application as true WAR or 'no' if you want to build as WOA. | ||
44 | |||
![]() |
7.1 | 45 | {{warning}} |
46 | |||
47 | At time of writing, the m2eclipse wizard didn't support default value for these properties. So, you always have to provide them. | ||
48 | |||
49 | {{/warning}} | ||
50 | |||
![]() |
11.1 | 51 | Finish and you have a WebObjects project following the Maven standard layout. |
52 | |||
53 | [[image:m2eclipse_wizard_6.png||align="center"]] |