我正在尝试使用我的grails 1.3.9版本安装webflow插件版本.
我试过以下的事情.,
使用命令grails intall-plugin webflow 1.3.8
Result是:org.grails#grails-webflow;1.3.8: not found
修改buildConfig文件并添加该行
plugins {compile":webflow:1.3.8"
运行应用程序结果时:
UNRESOLVED DEPENDENCIES
org.grails.plugins#webflow;1.3.8: not found
Run Code Online (Sandbox Code Playgroud)
我不知道还有什么可以尝试的.请帮忙.
试图在新机器上运行我的Grails项目,设置如下:
在我看来,grails无法下载任何在线依赖项,例如下面是包含邮件和邮件确认插件解析信息的输出的一部分.但是当我将http文件的zip文件放到浏览器中时,它会下载它,因此与存储库的连接正在机器上运行.
在之前运行项目的计算机上,此配置有效.我能够通过编辑BuildConfig.groovy来添加插件,它已被下载,添加并准备好使用.
以下是BuildConfig.groovy的一些有趣部分(我还没有离开所有deps):
repositories {
inherits true // Whether to inherit repository definitions from plugins
grailsPlugins()
grailsHome()
grailsCentral()
mavenLocal()
mavenCentral()
// uncomment these (or add new ones) to enable remote dependency resolution from public Maven repositories
//mavenRepo "http://snapshots.repository.codehaus.org"
//mavenRepo "http://repository.codehaus.org"
//mavenRepo "http://download.java.net/maven/2/"
//mavenRepo "http://repository.jboss.com/maven2/"
// Due to spring security plugins 2.0
mavenRepo "http://repo.spring.io/milestone"
}
dependencies {
// This dependency is added due to usage of grails mail plugin: …Run Code Online (Sandbox Code Playgroud)