pax-provision [-f felix|equinox|kf] [-p minimal,log,war,...] [-u url,...] [-- mvnOpts ...]

Provisions the current project onto the selected OSGi framework using the latest released version of Pax-Runner.

  • Use the -p option to select which profiles to deploy
  • Use the -u option to deploy additional bundles from a list of URLs

This script can also be used with non-Pax-Construct projects, as well as standalone (ie. without any Maven project).

Additional Maven options

-Dargs=filename-or-urlfile containing extra Pax-Runner options (one option per line)
-Drunner=versionuse a specific version of Pax-Runner
-Ddeploy=falsecreate deployment POM but don't start OSGi framework
-DdeployPoms=filename,...additional poms listing more bundles to deploy
-DnoDepsignore bundle dependencies when deploying

Examples

pax-provision -f equinox -- -Dargs=runner.args

pax-provision -p war -u war:file:petclinic.war