Fork me on GitHub

Maven Archetype Packaging

This is 'maven-archetype' packaging configuration for archetype projects. It provides maven-archetype-plugin bindings to default lifecycle:


Declaring maven-archetype packaging to your pom is not the only step required:

  • to be available from an the archetype project, the packaging must be added as an extension,
  • to ensure a reproducible build, the archetype plugin version needs to be locked down in pluginManagement section.

Typical pom.xml contains: