...
| Code Block |
|---|
|
<Embed-Dependency>*;scope=compile|runtime;inline=true</Embed-Dependency>
|
OBR integration
The latest Maven Bundle Plugin automatically updates the local OBR repository.xml file during the install phase, using a default location of:
| Code Block |
|---|
<LOCAL-MAVEN-REPOSITORY>/repository.xml
|
You can configure the location of the OBR repository by using the command line:
| Code Block |
|---|
mvn clean install -DobrRepository=<PATH_TO_OBR>
|
or in the configuration section for the maven-bundle-plugin in your Maven POM:
| Code Block |
|---|
|
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<obrRepository>PATH_TO_OBR</obrRepository>
<instructions>
<!-- bnd instructions -->
</instructions>
</configuration>
|
to disable OBR installation set the obrRepository to NONE, for example:
| Code Block |
|---|
|
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<obrRepository>NONE</obrRepository>
<instructions>
<!-- bnd instructions -->
</instructions>
</configuration>
|
Feedback
Subscribe to the Felix users mailing list by sending a message to users-subscribe@felix.apache.org; after subscribing, email questions or feedback to users@felix.apache.org.