ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lewis John Mcgibbney <lewis.mcgibb...@gmail.com>
Subject Re: Working with SNAPSHOT's
Date Mon, 20 Oct 2014 14:32:55 GMT
Fantastic, I will scope this out, try it and get back to you with exactly
what it was the made this work.
Thank you
Lewis

On Mon, Oct 20, 2014 at 7:30 AM, Christoph John <christoph.john@macd.com>
wrote:

>  Hi Lewis,
>
> I think the interesting part is the resolvers:
> -------
> <ivysettings>
>   <properties file="macd.properties" />
>   <caches name="m2-cache" defaultCacheDir="${ivy.defaultCacheDir}" />
>
>   <settings defaultResolver="macd-nexus" />
>
>   <resolvers>
>     <ibiblio name="macd-nexus" m2compatible="true"
>       root="${ivy.macd.nexus.url}" changingMatcher="regexp"
>       changingPattern=".*SNAPSHOT.*" checkmodified="true" />
>
>     <filesystem name="m2-local-repository" m2compatible="true"
>       local="true" changingMatcher="regexp" changingPattern=".*SNAPSHOT.*"
>       checkmodified="true">
>       <artifact
>
> pattern="${ivy.m2.local.dir}/[organisation]/[module]/[revision]/[module]-[revision].[ext]"
> />
>       <ivy
>
> pattern="${ivy.m2.local.dir}/[organisation]/[module]/[revision]/[module]-[revision].pom"
> />
>     </filesystem>
>
>     <chain name="macd-local-nexus">
>       <resolver ref="m2-local-repository" />
>       <resolver ref="macd-nexus" />
>     </chain>
>   </resolvers>
> </ivysettings>
> -------
>
> Hope that helps.
> Cheers,
> Chris.
>
>
>  On 20/10/14 16:06, Lewis John Mcgibbney wrote:
>
>   Hi Christoph,
>  Can you verify your ivysettings.xml for me please? I am keen to find if
> my settings are incorrect.
>  Thank you very m uch for reply.
> Best
>  Lewis
>
> On Mon, Oct 20, 2014 at 1:47 AM, Christoph John <christoph.john@macd.com>
> wrote:
>
>> Hi,
>>
>> we are using ivy 2.3.0 with SNAPSHOT dependencies and also use it the way
>> you said, i.e. rev=x.y-SNAPSHOT and changing=true.
>>
>> Cheers,
>> Chris.
>>
>>
>> On 17/10/14 20:20, Lewis John Mcgibbney wrote:
>>
>>>  Hi Folks,
>>> Does anyone work with Maven SNAPSHOT within Ivy configuration?
>>> Thank you
>>> Lewis
>>>
>>> On Sat, Oct 11, 2014 at 4:24 PM, Lewis John Mcgibbney <
>>> lewis.mcgibbney@gmail.com> wrote:
>>>
>>>    Hi Folks,
>>>>
>>>> I have been attempting to work with maven SNAPSHOT's [0] in my Ivy
>>>> settings [1].
>>>> I 'thought' [2] that this was resolved, but it would appear that it is
>>>> no
>>>> longer working!
>>>> I have added a note that in order to use the Maven SNAPSHOT's [3] I
>>>> should
>>>> replace the 'rev' with the 0.X-SNAPSHOT version then add change=true...
>>>> this is just now working and I am stumped having poured hours into this
>>>> one.
>>>> Can anyone please help me out? I am VERY keen to add further
>>>> documentation
>>>> on how we can get Ivy working better with Maven SNAPSHOT's.
>>>> I am using Ivy 2.2.0.
>>>> Thank you very much in advance for any help here.
>>>> Best
>>>> Lewis
>>>>
>>>>
>>>>
>>>>
>>>> [0] https://github.com/apache/nutch/blob/2.x/ivy/ivy.xml#L103
>>>> [1] https://github.com/apache/nutch/blob/2.x/ivy/ivysettings.xml#L35
>>>> [2] https://issues.apache.org/jira/browse/NUTCH-1696
>>>> [3]
>>>>
>>>> https://repository.apache.org/content/repositories/snapshots/org/apache/gora/
>>>>
>>>>
>>>> --
>>>>  *Lewis*
>>>>
>>>>
>>>
>>>
>> --
>> Christoph John
>> Development & Support
>> Direct: +49 241 557080-28
>> Mailto:Christoph.John@macd.com
>>
>>
>>
>> http://www.macd.com <http://www.macd.com/>
>>
>> ----------------------------------------------------------------------------------------------------
>>
>>
>> ----------------------------------------------------------------------------------------------------
>> MACD GmbH
>> Oppenhoffallee 103
>> D-52066 Aachen
>> Tel: +49 241 557080-0 | Fax: +49 241 557080-10
>>          Amtsgericht Aachen: HRB 8151
>> Ust.-Id: DE 813021663
>>
>> Geschäftsführer: George Macdonald
>>
>> ----------------------------------------------------------------------------------------------------
>>
>>
>> ----------------------------------------------------------------------------------------------------
>>
>> take care of the environment - print only if necessary
>>
>
>
>
> --
> *Lewis*
>
>
> --
>   Christoph John
> Development & Support
> Direct: +49 241 557080-28
> Mailto:Christoph.John@macd.com
>
>
>
> http://www.macd.com
>   ------------------------------
>  ------------------------------
>  MACD GmbH
> Oppenhoffallee 103
> D-52066 Aachen
> Tel: +49 241 557080-0 | Fax: +49 241 557080-10
>   Amtsgericht Aachen: HRB 8151
> Ust.-Id: DE 813021663
>
> Geschäftsführer: George Macdonald
>   ------------------------------
>  ------------------------------
>   take care of the environment - print only if necessary
>



-- 
*Lewis*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message