我的 Grails (2.3.6) 应用程序BuildConfig.groovy
:
grails {
project {
dependency {
resolution = {
repositories {
inherits true
grailsHome()
mavenLocal()
mavenRepo "http://myartifactory01/myrepo"
grailsPlugins()
grailsCentral()
mavenCentral()
}
plugins {
compile ":myplugin:0.1"
}
}
}
}
server {
port {
http = 4384
}
}
}
当我运行时,run-app
我收到以下错误:
| Error Required Grails build dependencies were not found. This is normally
due to internet connectivity issues (such as a misconfigured proxy) or missing
repositories in grails-app/conf/BuildConfig.groovy. Please verify your
configuration to continue.
我已验证 URL 指向myplugin
存储插件的有效(Artifactory)maven 存储库。我的有什么问题BuildConfig
吗?它是否缺少任何属性,或者是否有任何配置错误?