ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jing Xue <>
Subject Re: retrieving 'profiled' m2 artifacts
Date Tue, 20 Nov 2007 15:07:26 GMT

Quoting Steve Loughran <>:

> oh, if you want go ahead and do the conditions, then yes please :). But
>  we also need to be able to resolve artifacts in the m2 repository that
> have a profile suffix. Have a look at the files in
> to see what I mean. I need the -jdk15 files; no need for a condition
> there, as I dont build on java1.4

Can -jdk15 be treated as a branch name?  IOW, something along the lines of:

<dependency org="org.testng" module="testng" branch="-jdk15" />

and then in the resolver pattern:


I have never actually done something like that - just throwing an idea  
out there. 8-)

Jing Xue

View raw message