Maven Site Archetype

maven-archetype-site is an archetype which generates a sample Maven site which demonstrates some of the supported document types like APT, Markdown, XDoc, and FML and demonstrates how to i18n your site:

project
|-- .mvn
|   |-- jvm.config
|   `-- maven.config
|-- pom.xml
`-- src
    `-- site
        |-- apt
        |   |-- format.apt
        |   `-- index.apt
        |-- fml
        |   `-- faq.fml
        |-- fr
        |   |-- apt
        |   |   |-- format.apt
        |   |   `-- index.apt
        |   |-- fml
        |   |   `-- faq.fml
        |   |-- markdown
        |   |   |-- markdown.md
        |   |   `-- markdown-velocity.md.vm
        |   `-- xdoc
        |       `-- xdoc.xml
        |-- markdown
        |   |-- markdown.md
        |   `-- markdown-velocity.md.vm
        |-- xdoc
        |   `-- xdoc.xml
        |-- site_fr.xml
        `-- site.xml

This archetype can be layered upon an existing Maven project.

Usage

To generate a new project from this archetype, type:

mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-site -DarchetypeVersion=1.5