> You'll want to contact the Grails mailing list to find out if there is
> a way to exclude the Shiro Grails Plugin's quartz dependency using
> exclude directives so your specific quartz .jar is used and not the
> one referenced from shiro's shiro-quartz .jar
This can be done if you use Grails 1.3+. Simply define the plugin as a
dependency in BuildConfig.groovy:
grails.project.dependency.resolution = {
inherits "global"
log "warn"
repositories {
grailsPlugins()
grailsHome()
}
plugins {
compile ":shiro:1.1-SNAPSHOT", {
exclude "quartz"
}
}
dependencies {
// specify dependencies here under either 'build',
'compile', 'runtime', 'test' or 'provided' scopes eg.
// runtime 'mysql:mysql-connector-java:5.1.5'
}
}
I don't know whether the plugin should be depending on shiro-quartz or
not, but it seems as if Ivy is pulling in that optional dependency.
Peter