Build Commands for Maven-2 and Jetspeed

The custom portal project generated by the Jetspeed Archetype provides the following Maven build commands. All build commands must be run from the project root directory.

Target Example command Description
install-pa mvn jetspeed:mvn -Dtarget=install-pa Cleans and builds the portlet application subproject.
install-portal mvn jetspeed:mvn -Dtarget=install-portal Cleans and builds the portal application subproject
install mvn jetspeed:mvn -Dtarget=install Does `install-pa' and `install-portal'.
db mvn jetspeed:mvn -Dtarget=db Initializes the database and seed the initial data for your custom portal.
portal-seed mvn jetspeed:mvn -Dtarget=portal-seed Just seeds the initial data for your custom portal without initializing the database.
deploy-pa mvn jetspeed:mvn -Dtarget=deploy-pa Deploys your custom portlet application.
deploy-portal mvn jetspeed:mvn -Dtarget=deploy-portal Deploys your custom portal.
portal-seed-dbpsml mvn jetspeed:mvn -Dtarget=portal-seed-dbpsml Seeds database-based pages data for your custom portal application.
deploy-portal-dbpsml mvn jetspeed:mvn -Dtarget=deploy-portal-dbpsml Deploys your custom portal with seeding database-based pages data.
all mvn jetspeed:mvn -Dtarget=all Installs and deploys your custom portal and custom portlet application, initializes and seeds the database.