[ https://issues.apache.org/jira/browse/FELIX-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Moloney updated FELIX-219: ------------------------------ Attachment: maven-bundle-plugin-obr.patch This patch implements the install and install-file goals of the install phase. It also updates the lifecycle so that the install goal is automatically executed (no changes are required to pom.xml). The install-file goal allows an existing bundle to be added to the local OBR. For example mvn org.apache.felix:maven-bundle-plugin:install-file -Dfile=${HOME}/.m2/repository/org/apache/derby/derby/10.2.2.0/derby-10.2.2.0.jar -Dsymbolicname=derby The symbolicname parameter is only necessary if Bundle-SymbolicName isn't defined in the manifest. Note: bundlerepository was changed to accept the slightly modified XML generated by this patch. Modello doesn't allow PCDATA in an element with attributes so the <require> tag was changed from <require name="..." filter="..." multiple="..." optional="..." extend="..." > Import package ... </require> to <require name="..." filter="..." multiple="..." optional="..." extend="..." > <comment>Import package ...</comment> </require> However, I believe that this was done in a backward-compatible way. > Update maven-bundle-plugin to install bundles to a local OBR > ------------------------------------------------------------ > > Key: FELIX-219 > URL: https://issues.apache.org/jira/browse/FELIX-219 > Project: Felix > Issue Type: New Feature > Components: Maven Plugin > Reporter: Tim Moloney > Priority: Minor > Attachments: maven-bundle-plugin-obr.patch > > > Add the install and install-file goals to the install phase. These goals > will add the bundle metadata to an OBR repository file. The objective is to > allow the local Maven repository (~/.m2/repository) to also be an OSGi Bundle > Repository. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.