This page will hold the complete list of archetype (even not hosted at apache).
Each archetype page should enforce the following pattern :
- Archetype name
- Command line to call the archetype
- If the archetype can be used in an existing projects directory
- A tree view of the resulting files
- Some additional information like the additional properties used by the plugin
To use an archetype:
mvn archetype:generate
Generate gives you a wizard that will walk you through the various choices.
or
mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create -DgroupId=<your group> -DartifactId=<your artifact> -DarchetypeArtifactId=<wanted artifact> -DarchetypeGroupId=<wanted artifact group>
Read more here.
Quick Reference
A quick reference of available archetypes and their repositories. This list is designed so it can be automatically retrieved from archetype front-ends such as Archy - http://code.google.com/p/archy. Only archetypes that don't have any "released" artifacts need a version number.
| Artifact | Group | Version | Repository | Description |
|---|---|---|---|---|
| appfuse-basic-jsf | org.appfuse.archetypes | 2.0 | http://repo1.maven.org/maven2 | AppFuse archetype for creating a web application with Hibernate, Spring and JSF |
| appfuse-basic-spring | org.appfuse.archetypes | 2.0 | http://repo1.maven.org/maven2 | AppFuse archetype for creating a web application with Hibernate, Spring and Spring MVC |
| appfuse-basic-struts | org.appfuse.archetypes | 2.0 | http://repo1.maven.org/maven2 | AppFuse archetype for creating a web application with Hibernate, Spring and Struts 2 |
| appfuse-basic-tapestry | org.appfuse.archetypes | 2.0 | http://repo1.maven.org/maven2 | AppFuse archetype for creating a web application with Hibernate, Spring and Tapestry 4 |
| appfuse-core | org.appfuse.archetypes | 2.0 | http://repo1.maven.org/maven2 | AppFuse archetype for creating a jar application with Hibernate and Spring and XFire |
| appfuse-modular-jsf | org.appfuse.archetypes | 2.0 | http://repo1.maven.org/maven2 | AppFuse archetype for creating a modular application with Hibernate, Spring and JSF |
| appfuse-modular-spring | org.appfuse.archetypes | 2.0 | http://repo1.maven.org/maven2 | AppFuse archetype for creating a modular application with Hibernate, Spring and Spring MVC |
| appfuse-modular-struts | org.appfuse.archetypes | 2.0 | http://repo1.maven.org/maven2 | AppFuse archetype for creating a modular application with Hibernate, Spring and Struts 2 |
| appfuse-modular-tapestry | org.appfuse.archetypes | 2.0 | http://repo1.maven.org/maven2 | AppFuse archetype for creating a modular application with Hibernate, Spring and Tapestry 4 |
| maven-archetype-j2ee-simple | org.apache.maven.archetypes | http://repo1.maven.org/maven2 | A simple J2EE Java application | |
| maven-archetype-marmalade-mojo | org.apache.maven.archetypes | http://repo1.maven.org/maven2 | A Maven plugin development project using marmalade | |
| maven-archetype-mojo | org.apache.maven.archetypes | http://repo1.maven.org/maven2 | A Maven Java plugin development project | |
| maven-archetype-portlet | org.apache.maven.archetypes | http://repo1.maven.org/maven2 | A simple portlet application | |
| maven-archetype-profiles | org.apache.maven.archetypes | http://repo1.maven.org/maven2 | ||
| maven-archetype-quickstart | org.apache.maven.archetypes | http://repo1.maven.org/maven2 | ||
| maven-archetype-simple | org.apache.maven.archetypes | http://repo1.maven.org/maven2 | ||
| maven-archetype-site-simple | org.apache.maven.archetypes | http://repo1.maven.org/maven2 | A simple site generation project | |
| maven-archetype-site | org.apache.maven.archetypes | http://repo1.maven.org/maven2 | A more complex site project | |
| maven-archetype-webapp | org.apache.maven.archetypes | http://repo1.maven.org/maven2 | A simple Java web application | |
| data-app | net.databinder | 0.4 | http://repo1.maven.org/maven2 | A new Databinder application with sources and resources. |
| jini-service-archetype | org.jini.maven-jini-plugin | 2.0 | http://repo1.maven.org/maven2 | Archetype for Jini service project creation |
| softeu-archetype-seam | org.apache.maven.archetypes | http://maven.softeu.cz/ | JSF+Facelets+Seam Archetype | |
| softeu-archetype-seam-simple | org.apache.maven.archetypes | http://maven.softeu.cz/ | JSF+Facelets+Seam (no persistence) Archetype | |
| softeu-archetype-jsf | org.apache.maven.archetypes | http://maven.softeu.cz/ | JSF+Facelets Archetype | |
| jpa-maven-archetype | com.rfc.maven.archetypes | http://maven.rodcoffin.com/repo | JPA application | |
| spring-osgi-bundle-archetype | org.springframework.osgi | 1.0.2 | http://repo1.maven.org/maven2 | Spring-OSGi archetype |
| confluence-plugin-archetype | com.atlassian.maven.archetypes | 7 | https://maven.atlassian.com/public | Atlassian Confluence plugin archetype |
| jira-plugin-archetype | com.atlassian.maven.archetypes | 5 | https://maven.atlassian.com/public | Atlassian JIRA plugin archetype |
| maven-archetype-har | net.sf.maven-har | 0.9 | http://repo1.maven.org/maven2 | Hibernate Archive |
| maven-archetype-sar | net.sf.maven-sar | 0.9 | http://repo1.maven.org/maven2 | JBoss Service Archive |
| wicket-archetype-quickstart | org.apache.wicket | 1.3.2 | http://repo1.maven.org/maven2 | A simple Apache Wicket project |
| quickstart | org.apache.tapestry | 5.0.7-SNAPSHOT | http://tapestry.formos.com/maven-snapshot-repository/ | A simple Apache Tapestry 5 Project |
| scala-archetype-simple | org.scala-tools.archetypes | 1.2 | http://scala-tools.org/repo-releases | A simple scala project |
| lift-archetype-blank | net.liftweb | 0.9 | http://scala-tools.org/repo-releases | A blank/empty liftweb project |
| lift-archetype-basic | net.liftweb | 0.9 | http://scala-tools.org/repo-releases | The basic (liftweb) project |
| cocoon-22-archetype-block-plain | org.apache.cocoon | 1.0.0-RC2 | http://repo1.maven.org/maven2 | http://cocoon.apache.org/2.2/maven-plugins/ |
| cocoon-22-archetype-block | org.apache.cocoon | 1.0.0-RC2 | http://repo1.maven.org/maven2 | http://cocoon.apache.org/2.2/maven-plugins/ |
| cocoon-22-archetype-webapp | org.apache.cocoon | 1.0.0-RC2 | http://repo1.maven.org/maven2 | http://cocoon.apache.org/2.2/maven-plugins/ |
| myfaces-archetype-helloworld | org.apache.myfaces.buildtools | 1.0.0 | http://repo1.maven.org/maven2 | A simple archetype using MyFaces |
| myfaces-archetype-helloworld-facelets | org.apache.myfaces.buildtools | 1.0.0 | http://repo1.maven.org/maven2 | A simple archetype using MyFaces and facelets |
| myfaces-archetype-trinidad | org.apache.myfaces.buildtools | 1.0.0 | http://repo1.maven.org/maven2 | A simple archetype using Myfaces and Trinidad |
| myfaces-archetype-jsfcomponents | org.apache.myfaces.buildtools | 1.0.0 | http://repo1.maven.org/maven2 | A simple archetype for create custom JSF components using MyFaces |
| gmaven-archetype-basic | org.codehaus.groovy.maven.archetypes | 1.0-rc-3 | http://repo1.maven.org/maven2 | Groovy basic archetype |
| gmaven-archetype-mojo | org.codehaus.groovy.maven.archetypes | 1.0-rc-3 | http://repo1.maven.org/maven2 | Groovy mojo archetype |
Additional Information
- There is a maven-archetypes project on java.net:
- Webtide has some archetypes available for download and installation locally. (Not in a public repository as far as I know.)
- A SEAM archetype is available from Lunar Logic
- JSF archetypes from SoftEU
- http://software.softeu.cz/archetypes/jsf/ JSF+Facelets
- http://software.softeu.cz/archetypes/seam/ JSF+Facelets+Seam (http://software.softeu.cz/seam/ Maven Seam integration)
- http://software.softeu.cz/archetypes/seam-simple/ JSF+Facelets+Seam (no hibernate)
Labels
(None)

Comments (3)
Jun 07, 2007
Tim Pizey says:
http://melati.org/melatiarchetype/index.html has an archetype which enables iter...http://melati.org/melati-archetype/index.html has an archetype which enables iterative db design.
Sep 11, 2007
Oleksandr Maksymchuk says:
Starting v2.0rc1 Appfuse is also avaialble at central repository:Starting v2.0-rc1 Appfuse is also avaialble at central repository: http://repo1.maven.org/maven2
Probably it's a better place to reference to.
Jul 04
Antony Stubbs says:
Not all the archetypes listed above appear to be in the list of choices generate...Not all the archetypes listed above appear to be in the list of choices generated by
mvn archetype:generate
For example, cocoon ones are missing. There are 49 listed here, but only 36 choices appear.