[
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.)
Compare:
http://download.jboss.org/jbosstools/updates/requirements/m2eclipse/build.xml
vs.
http://download.jboss.org/jbosstools/updates/requirements/m2eclipse/pom.xml
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.
http://download.jboss.org/jbosstools/updates/requirements/pmd/build.xml
If you want an example of filtering by IU, here's a script that includes
an explicit list of features, rather than mirroring everything:
http://download.jboss.org/jbosstools/updates/requirements/mylyn/build.xml
$0.02,
Nick
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:
http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04980.html
/Mikhail
------------------------------------------------------------------------
*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 <http://www.jboss.org/tools>
My blog <http://mickaelistria.wordpress.com> - My Tweets
<http://twitter.com/mickaelistria>
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
Nick Boldt :: http://nick.divbyzero.com