OtherActive

Apache Maven Archetype

Maven Archetype is a mechanism for creating project templates, defined by an archetype descriptor and prototype files.

Open source page

Field note

What it does

Apache Maven Archetype provides a way to define and generate project skeletons. It includes an archetype descriptor (archetype-metadata.xml), prototype files, and a prototype pom, and can be used via the archetype:generate command.

Capabilities

Available capabilities

Tags

Tags

Ways to use it

Ways to use it

cli

Java / https://maven.apache.org/guides/mini/guide-creating-archetypes.html

Product features

Product features

Archetype Descriptor

Defines file sets, required properties, and modules for the archetype.

Archetype Generate

Command to create a new project from an archetype.

Archetype Packaging

Packaging type 'maven-archetype' with archetype-packaging extension.

Prototype POM

A template pom.xml with variable placeholders for groupId and artifactId.