pax:run

Provision all local and imported bundles onto the selected OSGi framework

mvn pax:run [-Dframework=felix|equinox|kf|concierge] [-Ddeploy=minimal,log,war,...]

Mojo Attributes:

  • Executes as an aggregator plugin.

Optional Parameters

Name Type Description
args String URL of file containing additional Pax-Runner arguments.
deploy boolean When true, start the OSGi framework and deploy the provisioned bundles. Default value is true.
deployPoms String Comma separated list of additional POMs with bundles as dependencies.
deployURLs String Comma separated list of additional bundle URLs to deploy.
framework String Name of the OSGi framework to deploy onto.
m_defaultLayout ArtifactRepositoryLayout No description.
m_factory ArtifactFactory Component factory for Maven artifacts
m_installer ArtifactInstaller Component for installing Maven artifacts
m_projectBuilder MavenProjectBuilder Component factory for Maven projects
m_repoFactory ArtifactRepositoryFactory Component factory for Maven repositories.
m_resolver ArtifactResolver Component for resolving Maven artifacts
m_source ArtifactMetadataSource Component for resolving Maven metadata
m_wagonManager WagonManager Component for calculating mirror details.
noDependencies boolean Ignore bundle dependencies when deploying project.
profiles String Comma separated list of additional Pax-Runner profiles to deploy.
provision String[] A set of provision commands for Pax-Runner.
runner String The version of Pax-Runner to use for provisioning. Default value is RELEASE.

Parameter Details

args

URL of file containing additional Pax-Runner arguments.

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

deploy When true, start the OSGi framework and deploy the provisioned bundles.
  • Type: boolean
  • Required: No
  • Expression: ${deploy}
  • Default: true

deployPoms Comma separated list of additional POMs with bundles as dependencies.
  • Type: java.lang.String
  • Required: No
  • Expression: ${deployPoms}

deployURLs Comma separated list of additional bundle URLs to deploy.
  • Type: java.lang.String
  • Required: No
  • Expression: ${deployURLs}

framework Name of the OSGi framework to deploy onto.
  • Type: java.lang.String
  • Required: No
  • Expression: ${framework}

m_defaultLayout No Description.
  • Type: org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout
  • Required: No

m_factory Component factory for Maven artifacts
  • Type: org.apache.maven.artifact.factory.ArtifactFactory
  • Required: No

m_installer Component for installing Maven artifacts
  • Type: org.apache.maven.artifact.installer.ArtifactInstaller
  • Required: No

m_projectBuilder Component factory for Maven projects
  • Type: org.apache.maven.project.MavenProjectBuilder
  • Required: No

m_repoFactory Component factory for Maven repositories.
  • Type: org.apache.maven.artifact.repository.ArtifactRepositoryFactory
  • Required: No

m_resolver Component for resolving Maven artifacts
  • Type: org.apache.maven.artifact.resolver.ArtifactResolver
  • Required: No

m_source Component for resolving Maven metadata
  • Type: org.apache.maven.artifact.metadata.ArtifactMetadataSource
  • Required: No

m_wagonManager Component for calculating mirror details.
  • Type: org.apache.maven.artifact.manager.WagonManager
  • Required: No

noDependencies Ignore bundle dependencies when deploying project.
  • Type: boolean
  • Required: No
  • Expression: ${noDeps}

profiles Comma separated list of additional Pax-Runner profiles to deploy.
  • Type: java.lang.String
  • Required: No
  • Expression: ${profiles}

provision A set of provision commands for Pax-Runner.
  • Type: java.lang.String[]
  • Required: No
  • Expression: ${provision}

runner The version of Pax-Runner to use for provisioning.
  • Type: java.lang.String
  • Required: No
  • Expression: ${runner}
  • Default: RELEASE