Provisions the current Maven project onto the selected OSGi framework using Pax-Runner.
If you don't have Pax-Runner in your local Maven repository this command will automatically attempt to download the latest release. It will then continue to use this locally installed version of Pax-Runner unless you add -U to force it to check online for a later release, or -Drunner=version to temporarily use a different version.
This script can also be used with non-Pax-Construct projects, as well as standalone (ie. without any Maven project).
| -U | force Maven to fetch the latest RELEASE of Pax-Runner |
| -Dargs=filename-or-url | file containing extra Pax-Runner options (one option per line) |
| -Drunner=version | use a specific version of Pax-Runner |
| -Ddeploy=false | create deployment POM but don't start OSGi framework |
| -DdeployPoms=filename,... | additional poms listing more bundles to deploy |
| -DnoDeps | ignore bundle dependencies when deploying |
pax-provision -f equinox -- -Dargs=runner.args pax-provision -p war -u war:file:petclinic.war