kaleidos / grails-security-stateless

Grails plugin to implement stateless authentication using Spring Security
Apache License 2.0
17 stars 8 forks source link

Gradle cannot download plugin. #41

Closed vishnoor closed 7 years ago

vishnoor commented 7 years ago

Hi, My repositories is

repositories {
    inherits true // Whether to inherit repository definitions from plugins

    grailsPlugins()
    grailsHome()
    mavenLocal()
    mavenRepo "https://repo.grails.org/grails/plugins/"
    mavenRepo "http://repo1.maven.org/maven2/"
    grailsCentral()
    mavenCentral()

}

dependencies { // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes e.g. // runtime 'mysql:mysql-connector-java:5.1.29' // runtime 'org.postgresql:postgresql:9.3-1101-jdbc41'

    compile 'com.google.http-client:google-http-client:1.22.0'
    compile 'com.google.http-client:google-http-client-jackson2:1.22.0'
    compile 'org.apache.commons:commons-lang3:3.1'
    compile "org.grails.plugins:security-stateless:0.0.9"

    test "org.grails:grails-datastore-test-support:1.0.2-grails-2.4"

    runtime 'mysql:mysql-connector-java:5.1.39'
}

plugins {
    // plugins for the build system only
    build ":tomcat:7.0.55"

    // plugins for the compile step
    compile ":scaffolding:2.1.2"
    compile ':cache:1.1.8'
    compile ":asset-pipeline:1.9.9"
    compile ":barcode4j:0.3"
    compile "org.grails.plugins:mail:1.0.7"

    compile ":spring-security-core:2.0-RC4"
    compile ':security-stateless:0.0.9'

when I do a grails clean - I get the following error Resolve error obtaining dependencies: Could not find artifact org.grails.plugins:security-stateless:jar:0.0.9

What can I do to resolve this? I am going crazy. Thanks for any help

vishnoor commented 7 years ago

My mistake was I had this line in the dependencies dependencies{ compile "org.grails.plugins:security-stateless:0.0.9" }

when I removed that, grails clean and then grails run-app, it all went away.