Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] How to avoid resolution against locally built artifacts

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. 

 

Cheers,

2012/8/17 Mickael Istria <mistria@xxxxxxxxxx>

On 08/17/2012 12:05 PM, Igor Fedorenko wrote:

-Dmaven.repo.local=/tmp/foo

Good trick. Thanks.

--
Mickael Istria
Eclipse developer at JBoss, by Red Hat

My blog - My Tweets


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user

 


Back to the top