来自GitHub的Grails插件 [英] Grails Plugins from GitHub

查看:95
本文介绍了来自GitHub的Grails插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我想使用Git Hub的Grails插件。我是否只需下载zip文件并在我的本地maven存储库中提供?我在防火墙的后面,它不会让我解决依赖问题。 解决方案

因为这可能包括未完成的功能和错误。至少使用为特定发行版标记的源(如果有的话)。



如果您想下载发布的插件,请访问 http://repo.grails.org/grails/plugins/org / grails / plugins /



请记住,运行 grails install-plugin / path / to / zip 不再适用2.3,所以你应该远离那种方法。相反,您可以运行一个本地的Artifactory实例,充当缓存的插件回购 - 请参阅此线索以获取一些信息: http://grails.1312388.n4.nabble.com/Caching-plugins-using-artifactory-td4640164.html


If I want to use a plugin for Grails from Git Hub. Do I just download the zip file and make it available in my local maven repository? I'm behind a firewall which doesn't let me just resolve the dependencies.

解决方案

You shouldn't build from the repo source since that might include unfinished features and bugs. At the very least use source tagged for a particular release (if there are any).

If you want to download released plugins, they're available at http://repo.grails.org/grails/plugins/org/grails/plugins/

Keep in mind that running grails install-plugin /path/to/zip no longer works in 2.3, so you should stay away from that approach. Instead, you could run a local Artifactory instance that acts as a cached plugin repo - see this thread for some information to get started: http://grails.1312388.n4.nabble.com/Caching-plugins-using-artifactory-td4640164.html

这篇关于来自GitHub的Grails插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆