Pax ConfMan - Install
The following sections will guide you on haw to install or make use of Pax ConfMan. When not specified otherwise the version the guide is refering to is 0.2.2 and you can use the same instructions also for other version.
Manual installation
Download the latest version from http://repository.ops4j.org/maven2/org/ops4j/pax/confman/.
Deploy the downloaded bundle to your prefered OSGi framework
Using Pax Runner provisioning
You can automatically provision the pax confman bundles by using any of the scanners. Here are some examples:
Using the dir scanner
Download the pax confman bundles (see above) and place them in a folder
Start a command line
cdto that folderstart pax runner:
pax-run
Using the pom scanner
add budnles to your pom
... <dependency> <groupId>org.ops4j.pax.confman</groupId> <artifactId>pax-confman-propsloader</artifactId> <version>0.2.2</version> </dependency> ...start pax runner:
pax-run
Using the file scanner
add bundles to your provisioning file
... mvn:org.ops4j.pax.confman/pax-confman-propsloader/0.2.2start pax runner:
pax-run
Using Pax Construct under development
Install Pax Construct
Create a project using
pax-create-project(if you do not already have one)Ensure that you have the following repository:
<repository> <id>ops4j.repository</id> <url>http://repository.ops4j.org/maven2</url> </repository>Import pax confman bundle using
pax-import-bundle -g org.ops4j.pax.confman -a pax-confman-propsloader -v 0.2.2Start
mvn pax:provision