Grails: working offline with snapshot dependencies

混江龙づ霸主 提交于 2019-12-02 08:56:41

问题


I am using some plugins which depend on snapshot versions of other plugins. As I understand, Ivy tries to fetch the newest version of these plugins every time you start grails. If Ivy does not succeed, grails will not start :-(

As I like to develop offline, I am now looking for a way which lets me avoid this behaviour...


回答1:


You could pull them down and store them on your machine using a local repository and comment out any remote repositories. Here is some documentation. Scroll down to "local resolvers"



来源:https://stackoverflow.com/questions/8391897/grails-working-offline-with-snapshot-dependencies

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!