To edit or add content to this Wiki, you can simply create a new account at



This archetype is DEPRECATED. Use the new woapplication-archetype instead.

"maven-archetype-woapplication" is a model for WebObjects applications creation. If you start a project using this archetype, all the basic WebObjects files are generated following the standard directory layout.

How to use

This archetype allows you to generate a template for a WebObjects application. So, creating the template of the application is as easy as using the command:

mvn archetype:generate -DarchetypeGroupId=org.objectstyle.woproject.maven2    \
                     -DarchetypeArtifactId=maven-archetype-woapplication    \
                     -DarchetypeVersion=2.0-SNAPSHOT                        \

This command creates a blank WebObjects application with and artifactId=my-app. Both values can be changed to adjust your needs.

Standard Directory Layout for WebObjects Applications


It's a working in progress task.

"Having a common directory layout would allow for users familiar with one Maven project to immediately feel at home in another Maven project. The advantages are analogous to adopting a site-wide look-and-feel." (

"maven-archetype-woapplication" provides some additional directories to conform to WebObjects development in addition to the Maven Standard Directory Layout.

|-- pom.xml
`-- src
    `-- main
        |-- java
        |   `-- my
        |       `-- group
        |           |--
        |           |--
        |           |--
        |           `--
        |-- resources
        |   |-- Main.api
        |   |-- Info.plist
        |   |-- Properties
        |   `-- Main.wo
        |       |-- Main.html
        |       |-- Main.wod
        |       `-- Main.woo
        |-- webapp
        |   `-- WEB-INF
        |       `-- web.xml
        `-- webserver-resources
  • No labels