1.3. Maven Archetypes

The JBPB project utilizes Maven archetypes which allow you get up and running with different flavors of the bridge quickly.

Archetype Command
JSF 1.2 Basic
mvn archetype:generate
   -DarchetypeGroupId=org.jboss.portletbridge.archetypes
   -DarchetypeArtifactId=1.2-basic
   -DarchetypeVersion=1.0.0.B3
   -DgroupId=org.whatever.project
   -DartifactId=myprojectname
   -DarchetypeRepository=http://repository.jboss.org/maven2/
RichFaces Basic
mvn archetype:generate
   -DarchetypeGroupId=org.jboss.portletbridge.archetypes
   -DarchetypeArtifactId=richfaces-basic
   -DarchetypeVersion=1.0.0.B3
   -DgroupId=org.whatever.project
   -DartifactId=myprojectname
   -DarchetypeRepository=http://repository.jboss.org/maven2/

Table 1.2. Available Archetypes