DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
This Maven plug-in aims to automate OBR (OSGi Bundle Repository) management. It creates a local OBR repository and can create a remote OBR to distribute bundles. This plug-in allows you to install your bundles inside an OBR repository at the same time you install it in your Maven repository. It can also deploy your bundle in a remote Maven repository when you deploy your Maven artefact. The plug-in computes capabilities and requirements and edits the repository description file to add (or update) the bundle description.
...
The plug-in can create a local OBR repository at the root of the local Maven repository. At each time the artefact is installed in the local maven repository (by using the 'mvn install' command), a local OBR repository is updated to contain the description of the artefact. This feature is automated inside the maven-bundle-plugin.
B: Installing an existing Maven artefact in a local OBR repository
This second way, to use the plug-in , is to add an already existing bundle in the OBR. The bundle must be already in the Maven local repository (you can use the Maven install:install-file plug-in to install an external bundle in your Maven repository).
To use this goal, the user must provide information in command line:
Variable name (preceded prefixed by --D) | status | description |
file | require | Path to the jar file (used to install bundle only) |
artefactId | require | artefactId of the bundle Use to determine path to the jar file in local maven Repository use as symbolic name if it isn't define in manifest |
groupId | require | groupId of the bundle Use to determine path to the jar file on local maven repository |
version | require | Version of the bundle Use to determine path to the jar file on local maven repository |
packaging | require | File type Use by maven to install the file (used to install bundle only) |
repository-path | optional | Path to the repository descriptor file (if not define: default path is : MavenRepo\repository.xml |
obr-file | optional | Path to the obr.xml, file which describe capabilities requirement and category given manually by user. (if not define: nothing is added to the resource description). |
...
Then it will compute bundle description by using bindex and information from the command line (artifactId, groupId, version, and obr file (if set)).
...