Maven Quickstart Archetype

maven-archetype-quickstart is an archetype which generates a sample Maven project:

project
|-- pom.xml
`-- src
    |-- main
    |   `-- java
    |       `-- $package
    |           `-- App.java
    `-- test
        `-- java
    |       `-- $package
                `-- AppTest.java

Usage

To generate a new project from this archetype, type:

mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.2-SNAPSHOT