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
Add OSGi bundle headers to released jar file #17
Comments
Was a misunderstanding of the problem. Our modules don't have to be OSGi bundles itself. The issue is how the OSGi bundles import and export packages, so the bundle using MicroStream to persist stuff, must have access to the other bundles' content. So nothing we can do here, but OSGi projects must adopt to circumstances. |
Issue came up again at JUG Augsburg today. In order to use external libraries in OSGi environments they need to add the header information by themselves. If we could include the header generation in our build, our modules could be used out of the box in OSGi environments. |
Have a look at our forum https://forum.microstream.one/?qa=104/osgi-metadata Mr. Thomas Driessen provided a maven configuration. |
Additionally to that we should provide a p2 deployment on our Nexus server. There should be a Maven plugin for that. |
Added script for OSGi headers to default build. |
Ok, repo is ready. URL: But the installation into eclipse creates another issue and eclipse crashed. |
fixed |
In order to use MicroStream in OSGi environments it is necessary to ship the OSGi bundle headers within our jar files. This can be done with a maven plugin in the package phase of the build.
https://blog.osoco.de/2016/05/building-osgi-bundles-with-apache-maven/
The text was updated successfully, but these errors were encountered: