lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: Snapshot repositories and ivy.
Date Sat, 14 Apr 2012 12:32:46 GMT
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
<dawid.weiss@cs.put.poznan.pl> 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 <rcmuir@gmail.com> wrote:
>> just put the jar in lib/
>>
>> On Sat, Apr 14, 2012 at 5:45 AM, Dawid Weiss <dawid.weiss@gmail.com> 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: dev-unsubscribe@lucene.apache.org
>>> For additional commands, e-mail: dev-help@lucene.apache.org
>>>
>>
>>
>>
>> --
>> lucidimagination.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>



-- 
lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message