pax:create-module

Create a new module inside a project.

mvn org.ops4j:maven-pax-plugin:create-module [-DgroupId=...] -DartifactId=... [-Dversion=...]

Mojo Attributes:

  • Executes as an aggregator plugin.

Required Parameters

Name Type Description
artifactId String The artifactId or the path for the new module.

Optional Parameters

Name Type Description
groupId String The groupId for the new module.
targetDirectory File The directory containing the POM to be updated. Default value is ${project.basedir}.
version String The version for the new module.

Parameter Details

artifactId

The artifactId or the path for the new module.

  • Type: java.lang.String
  • Required: Yes
  • Expression: ${artifactId}

groupId The groupId for the new module.
  • Type: java.lang.String
  • Required: No
  • Expression: ${groupId}

targetDirectory The directory containing the POM to be updated.
  • Type: java.io.File
  • Required: No
  • Expression: ${targetDirectory}
  • Default: ${project.basedir}

version The version for the new module.
  • Type: java.lang.String
  • Required: No
  • Expression: ${version}