【发布时间】:2014-10-08 14:42:07
【问题描述】:
我有一个带有多个插件的 Grails PRJ (2.4.3)
- 主要项目
- 插件A
- 插件B
在 Main PRJ 中,buildConfig.groovy 是:
plugins {
// plugins for the build system only
build ":tomcat:7.0.55"
// plugins for the compile step
compile ":scaffolding:2.1.2"
compile ':cache:1.1.7'
compile ":asset-pipeline:1.9.6"
compile ":plugin-a:0.1"
compile ":plugin-b:0.3"
}
在pluginA上修改后我执行:
grails clean
grails maven-install
grails mavel-deploy (for remote nexus)
在主 PRJ 上
grails clean
grails refresh-dependencies
grails run-app
但是当项目启动时,我看不到 PluginA 上的更新。我必须增加插件描述符中的版本。之后我可以看到更新!
现在..
- 是否可以避免版本增加?
- 什么是最好的 练习使用多个插件进行开发?
提前致谢
路易斯
【问题讨论】:
标签: grails grails-2.0 grails-plugin