pax:move-bundle

Move a bundle project to a new directory, updating and creating POMs as necessary

mvn pax:move-bundle -DbundleName=... -DtargetDirectory=...

Mojo Attributes:

  • Executes as an aggregator plugin.

Required Parameters

Name Type Description
bundleName String The artifactId or symbolic-name of the bundle.
targetDirectory File The new location for the bundle project.

Optional Parameters

Name Type Description
baseDirectory File A directory in the same project tree. Default value is ${project.basedir}.
repair boolean When true, repair the groupId and any references to the moved bundle. Default value is true.

Parameter Details

baseDirectory

A directory in the same project tree.

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

bundleName The artifactId or symbolic-name of the bundle.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${bundleName}

repair When true, repair the groupId and any references to the moved bundle.
  • Type: boolean
  • Required: No
  • Expression: ${repair}
  • Default: true

targetDirectory The new location for the bundle project.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${targetDirectory}