Creating and using a maven archetype
The best way to create a maven archetype is to start with an existing project. In the maven project (simple or multiple-module) directory execute:

The best way to create a maven archetype is to start with an existing project. In the maven project (simple or multiple-module) directory execute: