ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Scokart" <gscok...@gmail.com>
Subject RE: retrieving 'profiled' m2 artifacts
Date Mon, 19 Nov 2007 14:14:23 GMT
Yes : 

mvn -P profile1[,profilen]*

But you can also set profile automatically from your maven settings files.

Gilles

> -----Original Message-----
> From: Steve Loughran [mailto:stevel@apache.org]
> Sent: lundi 19 novembre 2007 15:09
> To: ivy-user@incubator.apache.org
> Subject: retrieving 'profiled' m2 artifacts
> 
> 
> There's now a POM file for TestNG 5.7 up on the repository
> http://repo1.maven.org/maven2/org/testng/testng/5.7/testng-5.7.pom
> 
> however, it is 'profiled'; different artifacts and dependencies for
> java1.5 and java1.4.
> 
> I don't think trying to chase all of M2's logic about profile selection
> and the like is worthwhile, but Ivy does need some way of requesting a
> specific profile. I didnt see anything in the online documentation -is
> there a profile attribute that I've missed?
> 
> -steve
> 
> --
> Steve Loughran                  http://www.1060.org/blogxter/publish/5
> Author: Ant in Action           http://antbook.org/


Mime
View raw message