[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Include maven artifact in MANIFEST first build?
|
Hi,
this is a solution that I have been thinking about as well. Is there any chance, I could see an example (pom) of how you generate and later access this p2 repo?
Cheers,
Anders
On Tue, May 31, 2011 at 9:30 PM, Cristiano Gavião
<cvgaviao@xxxxxxxxx> wrote:
Well,
Point one: Tycho only works with bundles. You can osgify(using maven-bundle-plugin) or download them from a bundle repo (http://ebr.springsource.com/repository/app/).
Point two: Tycho doesn't resolve PDE dependencies. For that you will need to setup the workspace TargetPlatform.
For this resolution I did the following: I've created an eclipse-repository project composed by dependencies features. At those features POM's I've put maven bundle dependencies from any desired mvn repo. I don't know why yet but I need to references those bundles on the feature manifest file too.
So at building Tycho will download all bundles and put them on the generated p2 repo...
As I don't have a network and don't want to start up a web server on my notebook, then I've created a target platform definition file and I've pointed it to my generated repo using this: ${project_loc:/my-repository}/target/repository/ and set it as used target platform.
So all my building problems were resolved until now... ;-)
cheers
Cristiano
--
Anders Hessellund
www.itu.dk/people/hessellund/