Cannot resolve :spring-securty-core:2.0-RC3 in grails 2.3.8 -
i trying add spring security core grails project in groovy grails toolsuite when tried compile it, gives me below error.
starting process on thbknb750/10.10.104.32 loading grails 2.3.8 |configuring classpath error | resolve error obtaining dependencies: failed read artifact descriptor org.grails.plugins:spring-security-core:zip:2.0-rc3 (use --stacktrace see fulltrace) error | resolve error obtaining dependencies: failed read artifact descriptor org.grails.plugins:spring-security-core:zip:2.0-rc3 (use --stacktrace see full trace) error | resolve error obtaining dependencies: failed read artifact descriptor org.grails.plugins:spring-security-core:zip:2.0-rc3 (use --stacktrace see full trace) error | resolve error obtaining dependencies: failed read artifact descriptor org.grails.plugins:spring-security-core:zip:2.0-rc3 (use --stacktrace see full trace) error | failed read artifact descriptor org.grails.plugins:spring-security-core:zip:2.0-rc3 |run 'grails dependency-report' further information. process killed
and here buildconfig.groovy
grails.servlet.version = "3.0" // change depending on target container compliance (2.5 or 3.0) grails.project.class.dir = "target/classes" grails.project.test.class.dir = "target/test-classes" grails.project.test.reports.dir = "target/test-reports" grails.project.work.dir = "target/work" grails.project.target.level = 1.6 grails.project.source.level = 1.6 //grails.project.war.file = "target/${appname}-${appversion}.war" grails.project.fork = [ // configure settings compilation jvm, note if alter groovy version forked compilation required // compile: [maxmemory: 256, minmemory: 64, debug: false, maxperm: 256, daemon:true], // configure settings test-app jvm, uses daemon default test: [maxmemory: 768, minmemory: 64, debug: false, maxperm: 256, daemon:true], // configure settings run-app jvm run: [maxmemory: 768, minmemory: 64, debug: false, maxperm: 256, forkreserve:false], // configure settings run-war jvm war: [maxmemory: 768, minmemory: 64, debug: false, maxperm: 256, forkreserve:false], // configure settings console ui jvm console: [maxmemory: 768, minmemory: 64, debug: false, maxperm: 256] ] grails.project.dependency.resolver = "maven" // or ivy grails.project.dependency.resolution = { // inherit grails' default dependencies inherits("global") { // specify dependency exclusions here; example, uncomment disable ehcache: // excludes 'ehcache' } log "error" // log level of ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose' checksums true // whether verify checksums on resolve legacyresolve false // whether secondary resolve on plugin installation, not advised , here backwards compatibility repositories { inherits true // whether inherit repository definitions plugins grailsplugins() grailshome() mavenlocal() grailscentral() mavencentral() mavenrepo 'http://repo.spring.io/milestone' } dependencies { } plugins { // plugins build system build ":tomcat:7.0.52.1" // plugins compile step compile ":scaffolding:2.0.3" compile ':cache:1.1.2' compile ':spring-security-core:2.0-rc3' runtime ":hibernate:3.6.10.13" // or ":hibernate4:4.3.5.1" runtime ":database-migration:1.4.0" runtime ":jquery:1.11.0.2" runtime ":resources:1.2.7" } } cannot resolve :spring-securty-core:2.0-rc3 in grails 2.3.8
if has come across same problem , has solution it, appreciated. thank you
try use repo : mavenrepo "http://repo.grails.org/"
Comments
Post a Comment