bnd-platform | Build OSGi bundles and Eclipse Update Sites | Plugin library
kandi X-RAY | bnd-platform Summary
kandi X-RAY | bnd-platform Summary
using osgi and having trouble to get all the dependencies as proper osgi bundles? even worse, sometimes you need to adapt bundles due to class loading issues or make an annoying dependency optional?. bnd-platform can help you solve that problem - it builds osgi bundles and even eclipse update sites from existing jars, for instance retrieved from maven repositories together with transitive dependencies. if needed you can adapt the creation of bundles via general or individual configuration options. bnd-platform is a [gradle] plugin and uses [bnd] to create bundles and [eclipse] for the creation of p2 repositories. for a quick start, check out the [sample project on github] or use [this minimal example] as a
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of bnd-platform
bnd-platform Key Features
bnd-platform Examples and Code Snippets
Community Discussions
Trending Discussions on bnd-platform
QUESTION
As not all jars are automatically usable OSGi bundles I use wrapping to generate them. After having being wrapped I'd like to publish them to my Artifactory repository. However, my lack of understanding of Gradle inhibits success, and after reading several suggested Stackoverflow answers I am still stuck.
This is my build.gradle file:
...ANSWER
Answered 2017-Mar-14 at 11:09I use unpuzzle (or rather this fork) to create Maven artifacts from OSGi bundles (and publish them to Artifactory).
This is probably not the most efficient solution for your use case, but at least something that works and I can come up with fast.
Here is an example of where I use unpuzzle for this purpose. Maybe that can serve as a starting point (together with the unpuzzle docs). There is a lot of bloat in my example because there I try to actually determine the original Maven artifacts for OSGi bundles created from them - as you always want the OSGi bundle, that's probably not relevant for you.
Note that by default the published artifacts will have different names (based on the bundle symbolic name) and a different group (which is configurable). But I think that is to be preferred over having the original group and name, otherwise it may get confused w/ the original. Adapting the group and name individually is possible as you can see in the example.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install bnd-platform
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page