src/main/java | - Application/Library sources |
src/main/resources | - Application/Library resources |
src/main/filters | - Resource filter files |
src/main/assembly | - Assembly descriptors |
src/main/config | - Configuration files |
src/main/scripts | - Application/Library scripts |
src/main/webapp | - Web application sources |
src/test/java | - Test sources |
src/test/resources | - Test resources |
src/test/filters | - Test resource filter files |
src/site | - Site |
LICENSE.txt | - Project's license |
NOTICE.txt | - Notices and attributions required by libraries that the project depends on |
README.txt | - Project's readme |
Maven Archetypes:
Archetype is a Maven project templating toolkit. An archetype is defined as an original pattern or model from which all other things of the same kind are made. The names fits as we are trying to provide a system that provides a consistent means of generating Maven projects. Archetype will help authors create Maven project templates for users, and provides users with the means to generate parameterized versions of those project templates.
Using an Archetype
To create a new project based on an Archetype, you need to call mvn archetype:generate goal, like the following:
mvn archetype:generate
Archetype is a Maven project templating toolkit. An archetype is defined as an original pattern or model from which all other things of the same kind are made. The names fits as we are trying to provide a system that provides a consistent means of generating Maven projects. Archetype will help authors create Maven project templates for users, and provides users with the means to generate parameterized versions of those project templates.
Using an Archetype
To create a new project based on an Archetype, you need to call mvn archetype:generate goal, like the following:
mvn archetype:generate
Archetype ArtifactIds | Description |
---|---|
maven-archetype-archetype | - An archetype which contains a sample archetype. |
maven-archetype-j2ee-simple | - An archetype which contains a simplifed sample J2EE application. |
maven-archetype-mojo | - An archetype which contains a sample a sample Maven plugin. |
maven-archetype-plugin | - An archetype which contains a sample Maven plugin. |
maven-archetype-plugin-site | - An archetype which contains a sample Maven plugin site. |
maven-archetype-portlet | - An archetype which contains a sample JSR-268 Portlet. |
maven-archetype-quickstart | - An archetype which contains a sample Maven project. |
maven-archetype-simple | - An archetype which contains a simple Maven project. |
maven-archetype-site | - An archetype which contains a sample Maven site which demonstrates some of the supported document types like APT, XDoc, and FML and demonstrates how to i18n your site. |
maven-archetype-site-simple | - An archetype which contains a sample Maven site. |
maven-archetype-webapp | - An archetype which contains a sample Maven Webapp project. |