archetype:generate

Full name:

org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate

Description:

Generates sample project from archetype.

Attributes:

  • Invokes the execution of the lifecycle phase generate-sources prior to executing itself.

Required Parameters

Name Type Since Description
interactiveMode Boolean - User settings use to check the interactiveMode. Default value is: ${settings.interactiveMode}.

Optional Parameters

Name Type Since Description
archetypeArtifactId String - The archetype's artifactId.
archetypeCatalog String - The archetype's catalogs. It is a comma separated list of catalogs. Catalogs use scheme: - 'file://...' with archetype-catalog.xml automatically appended when defining a directory - 'http://...' with archetype-catalog.xml always appended - 'local' which is the shortcut for 'file://~/.m2/archetype-catalog.xml' - 'remote' which is the shortcut for 'http://repo1.maven.org/maven2' - 'internal' which is an internal catalog Default value is: internal,local.
archetypeGroupId String - The archetype's groupId.
archetypeRepository String - The archetype's repository.
archetypeVersion String - The archetype's version.
basedir File - (no description)
goals String - Additional goals that can be specified by the user during the creation of the archetype.

Parameter Details

archetypeArtifactId :

The archetype's artifactId.

  • Type: java.lang.String
  • Required: No
  • Expression: ${archetypeArtifactId}

archetypeCatalog :

The archetype's catalogs. It is a comma separated list of catalogs. Catalogs use scheme: - 'file://...' with archetype-catalog.xml automatically appended when defining a directory - 'http://...' with archetype-catalog.xml always appended - 'local' which is the shortcut for 'file://~/.m2/archetype-catalog.xml' - 'remote' which is the shortcut for 'http://repo1.maven.org/maven2' - 'internal' which is an internal catalog

  • Type: java.lang.String
  • Required: No
  • Expression: ${archetypeCatalog}
  • Default: internal,local

archetypeGroupId :

The archetype's groupId.

  • Type: java.lang.String
  • Required: No
  • Expression: ${archetypeGroupId}

archetypeRepository :

The archetype's repository.

  • Type: java.lang.String
  • Required: No
  • Expression: ${archetypeRepository}

archetypeVersion :

The archetype's version.

  • Type: java.lang.String
  • Required: No
  • Expression: ${archetypeVersion}

basedir :

(no description)

  • Type: java.io.File
  • Required: No
  • Expression: ${basedir}

goals :

Additional goals that can be specified by the user during the creation of the archetype.

  • Type: java.lang.String
  • Required: No
  • Expression: ${goals}

interactiveMode :

User settings use to check the interactiveMode.

  • Type: java.lang.Boolean
  • Required: Yes
  • Expression: ${interactiveMode}
  • Default: ${settings.interactiveMode}