Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho and maven-assembly-plugin

I've used both maven and ant to produce a mirror. IMHO, while it's harder to invoke Eclipse's antRunner than to simply run `mvn verify`, the script is much easier to read and maintain. (And no, you can't pass tycho-p2-extras-plugin:mirror a category.xml, but you can give it a list of IUs to include.)



And if you then have to use Ant for any post-processing steps, like to remove external references to the original update site, or regenerate the content.jar / artifacts.jar, you'll have to use maven's antRun anyway.

If you want an example of filtering by IU, here's a script that includes an explicit list of features, rather than mirroring everything:



On 12/19/2012 09:13 AM, Mikhail Kalkov wrote:
Have you tried the mirror goal of tycho-p2-extras-plugin? I don't think
you can give it directly category.xml but otherwise it can generate a p2
repo with dependencies.

As far as I understood from your description, I have a similar use case
and when asked about it on p2-dev mailing list, Klaus Kopecz has
additionally suggested to use B3 Aggregator to generate p2 repos:


*From: *"Mickael Istria" <mistria@xxxxxxxxxx>
*To: *tycho-user@xxxxxxxxxxx
*Sent: *Wednesday, December 19, 2012 11:23:11 AM
*Subject: *Re: [tycho-user] Tycho and maven-assembly-plugin

PS: I know about the includeAllDependencies flag, but since I don't want
to alter the "normal" output of the repo, I'd prefer to find another
way; or a way to generate 2 repos: one without deps, and one with
transitive deps.

Mickael Istria
Eclipse developer at JBoss, by Red Hat <>
My blog <> - My Tweets

tycho-user mailing list

tycho-user mailing list

Nick Boldt ::

Back to the top