THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
In most cases, creating bundlized versions of a library is as simple as creating a POM file for the library using Felix' new Maven Bundle Plugin. The OSGi headers are non-intrusive. A JAR can be made in such a way that it runs on the Classpath as well as a bundle in an OSGi framework. In short you:
- Set the groupId to:
Code Block xml xml <groupId>org.apache.felix.commons</groupId>
- Append "-osgi" to the name of the artifact:
Code Block xml xml <artifactId>FOO-osgi</artifactId>
- Set the "packaging" to use the Maven Bundle Plugin:
Code Block xml xml <packaging>bundle</packaging>
- Set any configuration options in the Maven Bundle Plugin.
We recommend you read the longer steps for converting a library to a bundle.
...