Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-dev] FW: Tycho composite update site plugin for nexus

did not check the details but this may be worth looking at - forwarding from nexus-user list.

-----Original Message-----
From: Donat Csikos [mailto:donat.csikos@xxxxxxx] 
Sent: Montag, 5. Dezember 2011 20:31
To: nexus-user@xxxxxxxxxxxx
Subject: [nexus-user] Tycho composite update site plugin for nexus

Hi everyone,

I am Donat Csikos, Technical Student at CERN working on software engineering field. Currently we are examining the possibility to port our Java/C++  build environment to Maven and Nexus. Right now, we are trying to build  our Eclipse plugins with Eclipse Tycho.
We had a problem, namely Tycho generates update sites only for independent projects. We decided to create composite p2 repositories, with the following directory structure.
main_p2_folder
 |-> Product1
        |-> v1.0 
        |-> compositeContent.xml (p2 composite repo, that contains all versions of the plugin)
 |-> Product2
        |-> v1.0
        |-> v2.0 
        |-> compositeContent.xml (p2 composite repo, that contains all versions of the plugin)
 |-> compositeContent.xml (p2 composite repo, that contains all plugins with all versions)

We created a Nexus plugin, which updates the descriptors, when a specific rest plugin is invoked. The update is initiated by a http get (defined in a pom.xml in a form of an ant task).

The reason, why I am writing this email, is that the code is available here: https://github.com/donat/nexus-plugin-p2
If you want have a look at it, use it, or want to  propose/implement improvements, do it and let us know:)


Cheers,
Donat Csikos

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: nexus-user-help@xxxxxxxxxxxx



Back to the top