【发布时间】:2014-06-04 19:03:27
【问题描述】:
有没有办法告诉 Grails list-plugin-updates 命令忽略 SNAPSHOT 版本?
bash-3.2$ grails list-plugin-updates
Plugins with available updates are listed below:
-------------------------------------------------------------
<Plugin> <Current> <Available>
resources 1.2.8 1.2.9-SNAPSHOT
remote-pagination 0.4.6 0.4.7
platform-core 1.0.0 1.0.1-SNAPSHOT
mongodb 2.0.1 3.0.1
mail 1.0.5 1.0.6-SNAPSHOT
joda-time 1.4 1.5-SNAPSHOT
hibernate 3.6.10.15 3.6.10.16-SNAPSHOT
有很多次“真正的”更新被 SNAPSHOT 版本所掩盖,所以我仍然需要查看 Grails 网站以查看当前版本。我们正在构建一个生产系统,几乎不想包含任何插件的 SNAPSHOT 版本。
文档:
http://grails.org/doc/latest/ref/Command%20Line/list-plugin-updates.html
【问题讨论】: