我注意到每次构建时插件“svn-1.0.0.M1”都会被拉入我的战争。
我没有在我的 buildConfig 或 application.properties 中定义它。
有人可以解释为什么会这样吗?它是我的其他插件之一的依赖项吗?
我正在使用 grails 2.1.0。
repositories {
inherits true // Whether to inherit repository definitions from plugins
grailsPlugins()
grailsHome()
grailsCentral()
mavenCentral()
mavenLocal()
mavenRepo "http://snapshots.repository.codehaus.org"
mavenRepo "http://repository.codehaus.org"
}
dependencies {
// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
runtime 'mysql:mysql-connector-java:5.1.20'
runtime 'hsqldb:hsqldb:1.8.0.10'
}
plugins {
build ":tomcat:$grailsVersion", ":jbossas:1.0"
runtime ":hibernate:$grailsVersion"
compile ":spring-security-core:1.2.7.3",":geoip:0.2",":pretty-time:0.3",":profiler:0.4",":quartz:0.4.2"
// Add plugins that MUST NOT go into production here
if (Environment.current != Environment.PRODUCTION) {
runtime ":build-test-data:2.0.3",":fixtures:1.1",":grails-melody:1.12"
}
}
谢谢