Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Advice: OSGi'fy jars into target platform or Classpath and included in bundle?

On Tue, May 29, 2012 at 8:53 PM, Igor Fedorenko <igor@xxxxxxxxxxxxxx> wrote:
> I use maven-bundle-plugin Embed-Dependency feature [1] to "wrap"
> thirdpary dependencies in OSGi bundles and pomDependencies=consider [2]
> Tycho target platform configuration parameter to use these wrapper
> bundles from Tycho builds. See m2e embedded maven runtime, for example [3].
>
> The only real caveat here is that wrapper bundles must be built
> separately, before building any tycho project that uses them.
>
>
> [1] http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
> [2]
> https://docs.sonatype.org/display/TYCHO/Dependency+on+pom-first+artifacts
> [3]
> http://git.eclipse.org/c/m2e/m2e-core.git/tree/?id=milestones/1.1/1.1.0.20120505-1126

Thanks for the links to m2e-core, cloning now.

It would be ideal if people published their jars OSGi compatible, but
that's not likely to happen any time soon.
For now I just want "lazy"-OSGification.  Which is pretty much what
wrapping does.
Its at this point whether its worth working out whether I can write a
Nexus plugin to build these on the fly...

Will report back what I needed to do.
Maybe update some wiki links...


Back to the top