[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Bundles with internal jars

Coincidentally, I updated itp02 demo application to show how to use
maven-bundle-plugin to "wrap" thirdparty maven dependency in a bundle
and use that bundle from a Tycho project [1]. I also updated
corresponding howto wiki [2] to explain how you can work on such mixture
of pom-first and manifest-first project in semi-sane manner.

[1] https://github.com/sonatype/sonatype-tycho/tree/master/tycho-demo/itp02
[2] https://docs.sonatype.org/display/TYCHO/Dependency+on+pom-first+artifacts


On 11-05-16 03:41 AM, Sievers, Jan wrote:
Here is an example with wrapped jars downloaded via maven-dependency-plugin


Note that you need a lifecycle-mapping to make this work with m2eclipse.


From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Joerg Erdmenger
Sent: Freitag, 13. Mai 2011 09:55
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Bundles with internal jars

I'm new to tycho, though I have some maven experience. In my company we are currently evaluating moving our builds to tycho. Now we have some bundles that for various reasons carry some jars within them, rather then using their classes via OSGI dependencies.
Now here is the question: would it be possible to dependeny resolve these jars via maven in the build alongside using tycho to drive the main OSGI bundle build?
I've looked through the samples and searched the mailing list but couldn't find any pointers to any such scenario. I'd be more than happy to get a quick indication whether something like this is at all possible or whether something like this is deemed so silly as to avoid it under all circumstances.
Thanks in advance