It works perfectly fine.

if you have foo-1.0.jar and you want to test foo-2.0.jar, you comment
out foo-1.0 from ivy.xml and put foo-2.0.jar in lib.

This isnt maven, we dont have to deal with crazy snapshot repositories.

On Sat, Apr 14, 2012 at 8:28 AM, Dawid Weiss
<[email protected]> wrote:
> That's not going to work because ivy puts the original JAR in there
> and  I'd have to overwrite that one (ugly); living with two JARs in
> different versions under lib/ is even worse. At the same time ivy
> cannot resolve a snapshot JAR because snapshot repos are not in the
> default resolver chain.
>
> I did temporarily resolve the problem by using ivysettings.xml but if
> we're ever in the need of using snapshot JARs (not in maven repo) on
> trunk then we'll face this issue again (for integration builds for
> example).
>
> Dawid
>
> On Sat, Apr 14, 2012 at 2:25 PM, Robert Muir <[email protected]> wrote:
>> just put the jar in lib/
>>
>> On Sat, Apr 14, 2012 at 5:45 AM, Dawid Weiss <[email protected]> wrote:
>>> Does anybody know how to make ivy work with a snapshot repository (for
>>> example sonatype's snapshots)? Or even a local JAR dependency? From
>>> what I see it's ivysettings blah blah but where do I put it and what
>>> do I put inside?
>>>
>>> Dawid
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>
>>
>>
>> --
>> lucidimagination.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to