Create Java project with Maven archetype 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. This archetype can be layered upon an existing Maven project.

Create a Java Project by archetype maven-archetype-site with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DarchetypeGroupId="org.apache.maven.archetypes"   -DarchetypeArtifactId="maven-archetype-site"   -DarchetypeVersion="1.1"   -DinteractiveMode=false 

Details about maven archetype maven-archetype-site

GroupId

GroupId

org.apache.maven.archetypes
ArtifactId

ArtifactId

maven-archetype-site
Version

Version

1.1
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-site -DarchetypeVersion=1.1 -DinteractiveMode=false