Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert to OSGi bundle #8

Open
briantopping opened this issue Oct 13, 2014 · 3 comments
Open

Convert to OSGi bundle #8

briantopping opened this issue Oct 13, 2014 · 3 comments

Comments

@briantopping
Copy link

OSGi bundles generally do not depend on OSGi, it just adds key-value pairs to META-INF/MANIFEST.MF. These are generated automatically by build plugins and generally require no maintenance unless there are optional dependencies that the bnd tool cannot discern.

When loading under Apache Karaf, the following feature elements take care of everything:

 <bundle>mvn:com.bionicspirit/shade_2.11/1.7.0-SNAPSHOT</bundle>
 <bundle>wrap:mvn:net.spy/spymemcached/2.11.1$Import-Package=org.springframework.beans.factory;com.codahale.metrics;resolution:=optional,shade.memcached.internals,*</bundle>
 <bundle>wrap:mvn:org.monifu/monifu-core_2.11/0.7.0</bundle>
@alexandru
Copy link
Member

@briantopping I've never worked with OSGi bundles, I don't know what that does.

  1. Can this be automated by an SBT plugin?
  2. Is anybody still interested? Is this still needed?

Thanks,

@briantopping
Copy link
Author

I could submit a PR if anyone else wanted it.

@alexandru
Copy link
Member

@briantopping yes, if it is useful and if it doesn't break anything, then definitely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants