Question

Since Maven cannot guarantee that a jar is also a bundle I want to use OBR as my project Repository. Of course in case of OSGi it has a lot of more nice features why I am using it :) So, are there possibilities to add jars published to a Maven Repository to an OBR Repository or could I simply add a whole Maven Repo to it? Or is it possible to address a Maven URL directly in you OBR metadata?

Was it helpful?

Solution

You can use the Maven Bundle Plugin to add OBR metadata to your repository when deploying.

This plugin will add OBR metadata to any plugin you deploy.

I also think Nexus Open Source has support for OBR now, but I'm not entirely sure.

Finally, the PAX URL library might be of use to you. Using this library you can use maven style urls that Pax will resolve for you (e.g. 'mvn:groupid/artifactId')

regards, Frank

OTHER TIPS

The best thing is to use a repository manager and add the appropriate repository to the configuration of the repo manager. Furthmore it's possible to add a repository within your settings.xml file as a supplemental resources.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top