The information on this page is user-contributed. Its accuracy is not verified by the Maven team!
Links: Guide to creating archetypes, Plugin documentation
What Archetypes are available?
Maven's standard archetypes
- quickstart: creates a default pom.xml, the src and a test folders (including a default App.java/AppTest.java).
- site: quickstart + some filters + a default site structure. Site includes a second language (french). Note that the site archetype can only be run to create a new project, it can not be run after a project was initialized with another archetype.
- webapp: for creating web applications.
- plugin: Creates the structure for a new plugin project:
How to use
To create a webapp file structure:
mvn archetype:create -DgroupId=mygroupid -DartifactId=artifactid -DarchetypeArtifactId=maven-archetype-webapp
User-contributed archetypes
If you know of other archetypes that may be useful, please describe them below.
Tips and Surprises
Examples
Labels
