Chapter 5. Exploring Examples that use RichFaces

5.1. Archetypes

A Maven archetype is a template for creating projects. Maven uses an archetype to generate a populated directory for a project and create pom.xml files that contain build instructions.
The RichFaces Component Development Kit includes a Maven archetype named richfaces-archetype-simpleapp for generating the basic structure and requirements for a RichFaces application project. Maven can obtain the archetype from the JBoss repository at https://repository.jboss.org/nexus/content/groups/public/. The archetype is also included with the RichFaces source code in the archetypes directory.
You can generate a new RichFaces project with Maven by using the richfaces-archetype-simpleapp archetype. For instructions, see the JBoss Web Framework Kit Exploring the Examples Guide.