Hi folks, I couldn't find a clean way to use the maven-obr-plugin mojos inside the "bundle" life-cycle AND get maven to download the plugin automatically for those without it in their local repo :(
So because the obr install mojo is the most important (and the mojo specific code is small) I decided to add a local obr install mojo to the bundleplugin, that called the obr utility code. Maven will then happily download the obr plugin to access the utility code :) I also combined the switch and obr repository path into a single parameter "obrRepository" that defaults to the local repository path - if you set this to NONE the bundleplugin will skip the obr installation. some examples, using the command line: mvn clean install -DobrRepository=NONE mvn clean install -DobrRepository=<path-to-obr> and you can also set this parameter in your pom: <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <configuration> <obrRepository>NONE</obrRepository> <instructions> <!-- etc --> </instructions> </configuration> people who want more control over OBR, including deployment to remote OBR locations can explicitly add the maven-obr-plugin to their build poms and setup the relevant goals. ( ps, thanks to clement for the last minute patches to fix the path issues on windows ) -- Cheers, Stuart