You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by lhein <gi...@git.apache.org> on 2017/09/06 14:05:57 UTC

[GitHub] groovy pull request #597: GROOVY-8305: Fix default Ivy settings file for loc...

Github user lhein commented on a diff in the pull request:

    https://github.com/apache/groovy/pull/597#discussion_r137277087
  
    --- Diff: src/resources/groovy/grape/defaultGrapeConfig.xml ---
    @@ -26,7 +26,7 @@
             <ivy pattern="${user.home}/.groovy/grapes/[organisation]/[module]/ivy-[revision].xml"/>
             <artifact pattern="${user.home}/.groovy/grapes/[organisation]/[module]/[type]s/[artifact]-[revision](-[classifier]).[ext]"/>
           </filesystem>
    -      <ibiblio name="localm2" root="file:${user.home}/.m2/repository/" checkmodified="true" changingPattern=".*" changingMatcher="regexp" m2compatible="true"/>
    +      <ibiblio name="localm2" root="file:/${user.home}/.m2/repository/" checkmodified="true" changingPattern=".*" changingMatcher="regexp" m2compatible="true"/>
    --- End diff --
    
     file:///${user.home}/.m2/repository/ 
    
    is most likely not correct. You will end up with 4 slashes on Linux/Unix.
    
    It should be file:// afaik


---