Maven Create WO Application Project

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

Using m2eclipse and woapplication-archetype

The tutorial below supposes you already have installed m2eclipse plug-in. You also have to copy the archetype catalog to your local repository as described here. For more information about how to configure Maven to build WebObjects applications, see this tutorial.

Step 1: Create New Maven Project

Select the m2eclipse wizard to create a new Maven Project.m2eclipse_wizard_1.png

Step 2: Select the Project Location

Choose the project location for your project.m2eclipse_wizard_4.png

Step 3: Select the WebObjects Application Archetype

Select the Local catalog. m2eclipse_wizard_2.png
Choose the WebObjects Application archetype as the template for the new project.m2eclipse_wizard_3.png

Step 4: Define the Project Properties

Define the properties that best describe the new project (groupId, artifactId, version and package).

Note: use the SNAPSHOT suffix in project's version to identify as in development version. m2eclipse_wizard_5.png
You also have to provide 3 specific properties of woapplication-archetype.

  • WebObjectsVersion: the WebObjects version.
  • WonderSupport: type 'yes' to add support to Wonder or 'no' otherwise.
  • TrueWarSupport: type 'yes' to add the configuration required to build the application as true WAR or 'no' if you want to build as WOA.

Finish and you have a WebObjects project following the Maven standard layout.m2eclipse_wizard_6.png