Wiki source code of Maven Create WO Application Project
Version 7.1 by Henrique Prange on 2008/06/15 21:31
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 | |
![]() |
7.1 | 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.1 | 9 | == Step 1: Create New Maven Project == |
10 | |||
![]() |
7.1 | 11 | Select the m2eclipse wizard to create a new Maven Project. |
![]() |
5.1 | 12 | |
13 | == Step 2: Select the Project Location == | ||
14 | |||
![]() |
7.1 | 15 | Choose the project location for your project. |
![]() |
5.1 | 16 | |
17 | == Step 3: Select the WebObjects Application Archetype == | ||
18 | |||
![]() |
7.1 | 19 | Select the Local catalog. |
![]() |
5.1 | 20 | |
![]() |
7.1 | 21 | Choose the WebObjects Application archetype as the template for the new project. |
22 | |||
![]() |
5.1 | 23 | == Step 4: Define the Project Properties == |
24 | |||
25 | Define the properties that best describe the new project (groupId, artifactId, version and package). | ||
26 | |||
![]() |
7.1 | 27 | **Note**: use the SNAPSHOT suffix in project's version to identify as in development version. |
28 | |||
![]() |
5.1 | 29 | You also have to provide 3 specific properties of woapplication-archetype. |
30 | |||
31 | * **WebObjectsVersion**: the WebObjects version. | ||
32 | * **WonderSupport**: type 'yes' to add support to Wonder or 'no' otherwise. | ||
33 | * **TrueWarSupport**: type 'yes' to add the configuration required to build the application as true WAR or 'no' if you want to build as WOA. | ||
34 | |||
![]() |
7.1 | 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. |