Example Portlet Archetype

Creates an example portlet project configured for portlet prototyping using the Portlet Prototyping Maven Plugin.

This plugin is part of the Portlet Tools for Maven project.

Usage

First, create an example portlet project using this archetype from the http://repo.jlehtinen.net/maven2/ repository.

mvn archetype:create \
    -DremoteRepositories=http://repo.jlehtinen.net/maven2/ \
    -DarchetypeGroupId=net.jlehtinen.portlet \
    -DarchetypeArtifactId=example-portlet-archetype \
    -DgroupId=example \
    -DartifactId=example-portlet

Then execute the portlet-prototyping:run goal from within the created example-portlet project directory.

mvn portlet-prototyping:run

This will start up Jetty and Pluto at local port 8080, so you should be able to contact to the prototyping portlet and the example portlet by browsing to the following address.

http://localhost:8080/pluto/

You can now edit the example JSPs on the fly and see the changes immediately. You can also manually stop (Ctrl-C) and start the container fairly quickly.

Feedback

For feedback, check the Portlet Tools for Maven project.