Make sure that you have at least the three core repositories in BuildConfig.groovy:
repositories {
grailsPlugins()
grailsHome()
grailsCentral()
}
As a temporary workaround, you can install it directly by downloading the zip file. Go to http://grails.org/plugin/spring-security-core and click the big Download button, then install from the zip by running
grails install-plugin path/to/grails-spring-security-core-1.0.1.zip
You can also install it without downloading using
grails install-plugin http://plugins.grails.org/grails-spring-security-core/tags/RELEASE_1_0_1/grails-spring-security-core-1.0.1.zip
But I suspect you have a network issue, so the plugin install will fail since it uses Ivy to resolve the required Spring Security jars, and that download may also fail.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…