I agree that
mvn clean verify
is a better default that
mvn clean install.
And additionally, there is something planned for 0.16 to exclude locally built artifacts from the target platform – see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=355367
Regards
Tobais
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
On Behalf Of Stéphane Bouchet
Sent: Freitag, 17. August 2012 13:55
To: Tycho user list
Subject: Re: [tycho-user] How to avoid resolution against locally built artifacts
Hi,
Just my opinion, but doing this, does maven will download again all the artifacts again into that new repository ? i'm pretty sure it will.
By my side, i just do not use mvn install, but only mvn verify. doing this, no bundle is installed in local repo. this is working great because i do not need to re-use the artifact from others projects, my builds can be built alone.
If i really need to, i just publish on the verify phase the p2 repo somewhere on the intranet where it can be reached by http, and use that repo in the others projects.
|