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

Add OSGi manifest headers #1

Open
mattbishop opened this issue May 2, 2013 · 4 comments
Open

Add OSGi manifest headers #1

mattbishop opened this issue May 2, 2013 · 4 comments

Comments

@mattbishop
Copy link

It would be great to use these annotations in an OSGi environment like Eclipse and Glassfish. To do so, the manifest needs additional headers added. I will submit a pull request.

@mattbishop
Copy link
Author

This patch does two things:

  1. Adds the Apache Felix Bundle plugin to the pom file which will generate the appropriate OSGi headers.
  2. Change the packaging type from 'jar' to 'bundle' to enable the bundle plugin to join the build. 'bundle' is the same process as 'jar' with the extra step of scanning the classes and generating the OSGi headers into META-INF/MANIFEST.MF.

The only difference between 'bundle' and 'jar' are the extra headers in the manifest.

@arichiardi
Copy link

A question, has this fix been deployed on Maven Central?

@io7m
Copy link

io7m commented Aug 3, 2016

@arichiardi: No, it hasn't.

Any chance of getting this deployed? I'd do it myself under a different groupId but I'd rather not if there's a chance of getting this one uploaded reasonably quickly.

@io7m
Copy link

io7m commented Aug 4, 2016

I've pushed a working OSGi bundle under a different groupId:

http://search.maven.org/#artifactdetails%7Ccom.io7m.jcip%7Cjcip-annotations%7C1.0.2%7Cbundle

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

No branches or pull requests

3 participants