Maven Portlet Archetype

maven-archetype-portlet is an archetype which generates a sample JSR-268 Portlet:

project
|-- .mvn
|   |-- jvm.config
|   `-- maven.config
|-- pom.xml
`-- src
    `-- main
        |-- java
        |   `-- $package
        |       `-- MyPortlet.java
        |-- jetspeed
        |   `-- web.xml
        `-- webapp
            |-- WEB-INF
            |   |-- tld
            |   |   `-- portlet.tld
            |   |-- portlet.xml
            |   `-- web.xml
            |-- help.jsp
            |-- maximized.jsp
            `-- normal.jsp

Usage

To generate a new project from this archetype, type:

mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-portlet -DarchetypeVersion=1.5