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.j...@macd.com <mailto:christoph.j...@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.mcgibb...@gmail.com <mailto:lewis.mcgibb...@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 <tel:%2B49%20241%20557080-28>
    Mailto:christoph.j...@macd.com <mailto:christoph.j...@macd.com>



    http://www.macd.com <http://www.macd.com/>
    
----------------------------------------------------------------------------------------------------

    
----------------------------------------------------------------------------------------------------
    MACD GmbH
    Oppenhoffallee 103
    D-52066 Aachen
    Tel: +49 241 557080-0 <tel:%2B49%20241%20557080-0> | Fax: +49 241 557080-10
    <tel:%2B49%20241%20557080-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.j...@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

Reply via email to