cxx:generate

Full name:

org.codehaus.mojo:cxx-maven-plugin:0.0.6-SNAPSHOT:generate

Description:

Generates a new project from an archetype, or updates the actual project if using a partial archetype. If the project is generated or updated in the current directory. mvn cxx:generate -DartifactName="an-id" -DartifactId="AnId"

Attributes:

  • Since version: 0.0.6.
  • Invokes the execution of the lifecycle phase generate-sources prior to executing itself.

Required Parameters

Name Type Since Description
artifactId String 0.0.6 The generated pom artifactId
User property is: artifactId.
artifactName String 0.0.6 The generated pom artifact Name.
User property is: artifactName.

Optional Parameters

Name Type Since Description
archetypeArtifactId String 0.0.6 The archetype's artifactId {cmake-cpp-project | source-project | aggregator-pom | project-parent-pom | cpp-super-pom }
Default value is: cmake-cpp-project.
User property is: archetypeArtifactId.
archetypeGroupId String 0.0.6 The archetype's groupId (not used, reserved for futur usage).
Default value is: org.apache.maven.plugin.cxx.
User property is: archetypeGroupId.
archetypeVersion String 0.0.6 The archetype's version (not used, reserved for futur usage).
Default value is: 0.1.
User property is: archetypeVersion.
cmakeMinVersion String 0.0.6 The generated CMakeLists file CMake min version.
Default value is: 3.0.0.
User property is: cmakeMinVersion.
groupId String 0.0.6 The generated pom groupId.
Default value is: fr.neticoa.
User property is: groupId.
parentArtifactId String 0.0.6 The generated pom parent artifactId.
Default value is: cpp-super-pom.
User property is: parentArtifactId.
parentGroupId String 0.0.6 The generated pom parent groupId.
Default value is: fr.neticoa.
User property is: parentGroupId.
parentVersion String 0.0.6 The generated pom parent version.
Default value is: 1.1.0.0.
User property is: parentVersion.
version String 0.0.6 The generated pom version.
Default value is: 0.0.0.1.
User property is: version.

Parameter Details

archetypeArtifactId:

The archetype's artifactId {cmake-cpp-project | source-project | aggregator-pom | project-parent-pom | cpp-super-pom }
  • Type: java.lang.String
  • Since: 0.0.6
  • Required: No
  • User Property: archetypeArtifactId
  • Default: cmake-cpp-project

archetypeGroupId:

The archetype's groupId (not used, reserved for futur usage).
  • Type: java.lang.String
  • Since: 0.0.6
  • Required: No
  • User Property: archetypeGroupId
  • Default: org.apache.maven.plugin.cxx

archetypeVersion:

The archetype's version (not used, reserved for futur usage).
  • Type: java.lang.String
  • Since: 0.0.6
  • Required: No
  • User Property: archetypeVersion
  • Default: 0.1

artifactId:

The generated pom artifactId
  • Type: java.lang.String
  • Since: 0.0.6
  • Required: Yes
  • User Property: artifactId

artifactName:

The generated pom artifact Name.
  • Type: java.lang.String
  • Since: 0.0.6
  • Required: Yes
  • User Property: artifactName

cmakeMinVersion:

The generated CMakeLists file CMake min version.
  • Type: java.lang.String
  • Since: 0.0.6
  • Required: No
  • User Property: cmakeMinVersion
  • Default: 3.0.0

groupId:

The generated pom groupId.
  • Type: java.lang.String
  • Since: 0.0.6
  • Required: No
  • User Property: groupId
  • Default: fr.neticoa

parentArtifactId:

The generated pom parent artifactId.
  • Type: java.lang.String
  • Since: 0.0.6
  • Required: No
  • User Property: parentArtifactId
  • Default: cpp-super-pom

parentGroupId:

The generated pom parent groupId.
  • Type: java.lang.String
  • Since: 0.0.6
  • Required: No
  • User Property: parentGroupId
  • Default: fr.neticoa

parentVersion:

The generated pom parent version.
  • Type: java.lang.String
  • Since: 0.0.6
  • Required: No
  • User Property: parentVersion
  • Default: 1.1.0.0

version:

The generated pom version.
  • Type: java.lang.String
  • Since: 0.0.6
  • Required: No
  • User Property: version
  • Default: 0.0.0.1