Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Maven Integration (M2E) » Using tycho to build target platform
Using tycho to build target platform [message #25440] Thu, 07 May 2009 15:34 Go to previous message
Will Horn is currently offline Will Horn
Messages: 265
Registered: July 2009
Senior Member
Using the felix maven-bundle-plugin I am able to instruct maven to build a
target platform that contains all the necessary third party dependencies.
In case anyone is interested, I included the steps/poms below [1].

It is not a particularly elegant solution and I hope to improve it. I
noticed this recent blog entry:
http://www.sonatype.com/people/2009/04/tycho-implicit-build- target-platform-support-from-maven/

I'm wondering if it solves the problem I have. I would like to list a set
of artifacts that include OSGi bundles in maven repositories and Eclipse
plugins in p2 repositories, and have tycho compute the transitive
dependencies and build an Eclipse target platform.

Is this possible? Or any suggestions on how to attack it?

One more thing: from the blog demo, I see that Tycho is actually computing
the target platform from the "Require-Bundle" headers in the MANIFEST.MF.
That is cool, but is it intended to work with "Import-Package"? I tried and
had some trouble. I assume Tycho needs the bundle symbolic name, which is
understandable. That just means that I need to use the list approach above
instead of just pointing to a set a plugins and having the target platform
completely inferred.

Thanks,
Will

[1]
1)build a massive OSGi bundle that contains the transitive dependencies of
the libraries I want to be available in my target
( http://code.marketcetera.org/root/trunk/source/photon/maven/ bundle/pom.xml).
2)use the maven-dependency-plugin to copy all the eclipse plugins and the
bundle from the first step into a target platform
( http://code.marketcetera.org/root/trunk/source/photon/maven/ rcptarget/pom.xml).
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:[tycho] best way of using multiple maven versions in parallel
Next Topic:Re: [m2eclipse-user] Tycho: Eclipse plugin dependency resolution from local repository
Goto Forum:
  


Current Time: Sat May 25 09:36:17 EDT 2013

Powered by FUDForum. Page generated in 0.01737 seconds