Provision a bundle from an URL
Provision a bundle from an URL
The most simple way to provision a bundle its to specify its URL. This is scan-bundle: for: provision one bundle specified by its URL. The URL can be any url supported by standard Java or Pax URL.
You can use this provisioning option using the following provisioning spec:
scan-bundle:<url>
where url is any url supported by standard Java or Pax URL.
Examples of bundle scanner usage
Here are some examples of how to use the bundle scanner with Pax Runner:
The bundle foo.jar is on the file system in the current directory:
pax-run scan-bundle:file:foo.jar
The bundle foo.jar is on the file system in directory /Users/Somebody:
pax-run scan-bundle:file:/Users/Somebody/foo.jar
The bundle is on the web accessible via http:
pax-run scan-bundle:http://www.bar.org/foo.jar
The bundle is a maven artifact:
pax-run scan-bundle:mvn:some.group/foo/1.2.0