Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] having Maven provision the eclipse target platform directly from a Maven repository


Unchecked group by category, and suddenly everything is there! That was my issue.

Our structure looks like this, roughly:
We have hundreds of Eclipse plugins and features that are used to build dozens of RCP applications.
These are grouped by area / package name and separated into logical git repositories.

We then have Bamboo set up to build each area, which might include a number of plugins and features.  RCP builds are done separately by Bamboo.
Snapshots and then releases are pushed to our Nexus repository.

What I am going for is a system where my developers can follow a simple process to get the source code for the plugins they need to edit for the RCP application they are building.  I am using repo from Google to clone multiple repositories, and then I was planning to set up a target platform and a psf (project set) to simplify importing just the needed projects into the Eclipse workspace.

The issue I'm emailing about is provisioning the target platform.

Thanks so very much for all the assistance.


On Jan 16, 2014, at 1:58 AM, Moritz Bechler <bechler@xxxxxxxx> wrote:

> Hi,
>> We followed the steps on that page and set Nexus up to provision our p2
>> site; despite the fact that we have followed all the configurations
>> carefully and are attempting to hit the p2 site from our target
>> platform, it shows no content.  Is there an example?  Are there special
>> settings in tycho?  We're publishing all the p2 content, so for each
>> Eclipse artifact we build there is a p2artifacts.xml and p2metadata.xml
>> file and the contents look clean.  It seems like the aggregator is not
>> aggregating them?
>> Thanks so much for any input, this is a key part of using Nexus for us!
> The nexus p2 plugin is indeed not aggregating the tycho generated P2
> data, but only what their generator produces from the JARs. So you will
> also have to enable the meta data generator on the repository (I'm not
> sure whether this will be useful, especially for features).
> We do have a customized plugin which in-cooperates the tycho generated
> descriptors - but I need to get approval for publishing first and have
> some time to get it ready for release.
> Also, note that you won't be able to pick individual plugins for the
> target platform using this repository layout, but only features and as
> Neil noted you have to disable categories to see any contents at all.
> with best regards
> Moritz
> -- 
> AgNO3 GmbH & Co. KG, Sitz Tübingen, Amtsgericht Stuttgart HRA 728731
> Persönlich haftend:
> Metagesellschaft mbH, Sitz Tübingen, Amtsgericht Stuttgart HRB 744820,
> Vertreten durch Joachim Keltsch
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx

Back to the top