Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orbit-dev] Adding an Eclipse OSGi bundle to Orbit

On Mon, 2020-07-06 at 21:10 +0000, Carsten Reckord wrote:
> Thank you both for the suggestion. I thought of that as well, but
> wasn't sure if that was an okay path for Orbit to go. I'll play
> around with it a bit and see how it goes - if it works out okay, we
> can still see if it should be added like this. I'll report back when
> I know more.
> 
> FWIW though, I discovered a couple of other bundles already in Orbit
> that are pretty much the same case - basically everything from the
> Jakarta EE project (under javax/ in Orbit) is also an Eclipse Project
> and already comes as OSGi bundles in Maven Central.

Generally it's good to at least file a bug against the project to make
it clear that providing some kind of p2 repository is actually wanted.
This is basically what we did for certain Jackson/Jersey. If you look
in https://bugs.eclipse.org/bugs/show_bug.cgi?id=562366 , you'll see
the patch is just using p2-maven-plugin to do this.

I also seem to remember that one of the concerns with the
pomDependencies=consider approach was whether the project also OSGI-
ified the sources, and if not, then having a separate approach for the
library and its sources could get complicated. Re-doing the metadata in
the osgi.bnd may seem excessive, but at least the approach is
consistent.

Cheers,
-- 
Roland Grunberg



Back to the top