Thanks a lot Mickael.
I was able to generate a P2 repository locally using the third party bundles, and added the local repository in pom.xml. Am able to export my product using
Tycho now. J
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
On Behalf Of Mickael Istria
Sent: Monday, August 04, 2014 2:43 PM
Subject: Re: [tycho-user] Third party jars dependency for RCP application
Are these jars OSGi bundles? Do they have p2 metadata available somewhere?
If they are OSGi bundles with p2 metadata, just add the p2 repository to your target-platform.
If they are OSGi bundles without p2 metadata, you should read
http://wiki.eclipse.org/Tycho/How_Tos/Dependency_on_pom-first_artifacts . With that, you can create a p2 repository for a given set of bundles without p2 metadata, and consume this repository later with Eclipse/p2/Tycho.
If they are not OSGi bundles, you'll need to either wrap them in OSGi bundles including the lib and re-exporting its packages, or repackage them as OSGi bundles (and build them like regular bundles).
Some interesting links to projects dealing with similar issues: