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

Use maven-bundle-plugin to generate MANIFEST.MF files with OSGi Metadata #54

Closed
sgp opened this issue May 30, 2013 · 0 comments · Fixed by #55
Closed

Use maven-bundle-plugin to generate MANIFEST.MF files with OSGi Metadata #54

sgp opened this issue May 30, 2013 · 0 comments · Fixed by #55

Comments

@sgp
Copy link
Contributor

sgp commented May 30, 2013

This is related to issue #18, which is closed, and wasn't quite solved by the merge. I'm working on a patch that will fix this issue for good going forward.

The problem I was having was that javax.xml.* was not found by the bundle classloader when used in an OSGi platform such as Apache Karaf (which uses Apache Felix as the OSGi container). This was because the template-driven version of the MANIFEST.MF didn't specify any imports required, so the classloader could not find them.

The maven-bundle-plugin is the way to go here; it "just works", for the most part. See the Apache Maven Bundle Plugin page for more information.

sgp added a commit to sgp/modelmapper that referenced this issue May 30, 2013
jhalterman added a commit that referenced this issue Jun 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant