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

Profile for OSGI bundles #26

Closed
2 tasks done
reckart opened this issue Jul 28, 2022 · 0 comments
Closed
2 tasks done

Profile for OSGI bundles #26

reckart opened this issue Jul 28, 2022 · 0 comments
Assignees
Labels
⭐️ Enhancement New feature or request
Milestone

Comments

@reckart
Copy link
Member

reckart commented Jul 28, 2022

Is your feature request related to a problem? Please describe.
We have a profile for "fat" OSGi bundles which we seem to have used at some point to package up annotators including their dependencies (in the sandbox). We also have "fat" bundles that we provide as part of the Eclipse plugins.

What we do not seem to have is a nice profile for "lean" bundles that are basically just the JARs of the Maven modules that we have.

Describe the solution you'd like
A suitable profile for adding OSGi metadata at the module level, i.e. to uimaj-core, uimaj-cpe, etc. etc. We might run into trouble because of some split packages, but let's see that when we hit it.

Describe alternatives you've considered
Work with the "fat" runtime bundles.

Additional context


  • Profile should additionally stage META-INF and OSGI-INF in the places where Eclipse PDE expects them
  • Profile should clean these additional places again on mvn clean
@reckart reckart self-assigned this Jul 28, 2022
@reckart reckart added the ⭐️ Enhancement New feature or request label Jul 28, 2022
@reckart reckart added this to the 16 milestone Jul 28, 2022
reckart added a commit that referenced this issue Jul 28, 2022
- Added profile based on the Maven Bundle Plugin
- Profile stages META-INF and OSGI-INF in places where Eclipse PDE expects them so Eclipse would recognize them as bundles
- These locations are also cleaned up on a "clean"
reckart added a commit that referenced this issue Jul 29, 2022
@reckart reckart closed this as completed Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐️ Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant