[GitHub] [groovy] eric-milles edited a comment on issue #597: GROOVY-8305: Fix default Ivy settings file for local m2 path

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [groovy] eric-milles edited a comment on issue #597: GROOVY-8305: Fix default Ivy settings file for local m2 path

GitBox
eric-milles edited a comment on issue #597: GROOVY-8305: Fix default Ivy settings file for local m2 path
URL: https://github.com/apache/groovy/pull/597#issuecomment-551057610
 
 
   Another approach would be to set the "ivy.ibiblio.default.artifact.root" property from the code and remove the root attribute from the settings file.  I think this defaults to Maven Central's URL.  So you would need to add a root attribute to the ibiblio below jcenter, which is intended to point to maven central.
   
   https://ant.apache.org/ivy/history/master/resolver/ibiblio.html
   
   Or you may be able to encode "user.home" to a url and set as a system property that is referenced from the default settings file.
   
   Update: Looks like you can set variables for the settings file like this "ivyInstance.settings.setVariable('ivy.checksums', '')" instead of System properties.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


With regards,
Apache Git Services