Grails:与快照依赖关系脱机工作 [英] Grails: working offline with snapshot dependencies
问题描述
我正在使用一些依赖于其他插件的快照版本的插件。
据我所知,每次启动Grails时,Ivy都会尝试获取这些插件的最新版本。如果Ivy没有成功,Grails将无法启动: - (
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...
推荐答案
您可以将它们拉下并使用本地存储库存储在您的机器上,并注释掉任何远程存储库。 href =http://grails.org/doc/1.3.7/guide/3.%20Configuration.html#3.7.2%20Dependency%20Repositories =nofollow>以下是一些文档。 Scroll到本地解析器
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"
这篇关于Grails:与快照依赖关系脱机工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!