Purpose

The purpose of this plugin is to provide the mecanism to create a sample project from an archetype and to create-from-project an archetype from an existing project.

Quickstart

There is two way of using the archetype plugin:

  • call mvn archetypeng:create for project generation from an archetype. To avoid console prompts and only use a property file, add -B option.
  • call mvn archetypeng:create-from-project in a project directory for archetype creation. To avoid console prompts and only use a property file, add -B option.

Table of content

  1. Generation of a project.
  2. Creation of an archetype.
  3. What are archetypes ?
  4. Mojos of the plugin.
  5. How to handcraft archetypes ?
  6. Archetypeng design for developers.