pax:clone

Clones an existing project and produces a script (plus archetypes) to mimic its structure using Pax-Construct

mvn pax:clone

Mojo Attributes:

  • Requires a Maven 2.0 project to execute.
  • Executes as an aggregator plugin.

Optional Parameters

Name Type Description
m_archiverManager ArchiverManager Component factory for various archivers
repair boolean When true, replace any local bundle dependencies with pax-import-bundle commands.
unify boolean When true, unify multiple projects under one single pax-create-project command. Warning: this doesn't merge settings from sub-projects, such as <dependencyManagement>, so some manually editing will be necessary.

Parameter Details

m_archiverManager

Component factory for various archivers

  • Type: org.codehaus.plexus.archiver.manager.ArchiverManager
  • Required: No

repair When true, replace any local bundle dependencies with pax-import-bundle commands.
  • Type: boolean
  • Required: No
  • Expression: ${repair}

unify When true, unify multiple projects under one single pax-create-project command. Warning: this doesn't merge settings from sub-projects, such as <dependencyManagement>, so some manually editing will be necessary.
  • Type: boolean
  • Required: No
  • Expression: ${unify}