Las dependencias problema con la primavera-seguridad-core plugin

Estoy tratando de instalar la primavera-seguridad-core plugin para mi proyecto, pero parece que los archivos de plugin no puede encontrarse en cualquiera de los repositorios.

He añadido esta línea para BuildConfig archivo de la sección de plugins:

    compile ':spring-security-core:2.0-RC2'

Después de la ejecución de grails comando compile estoy recibiendo siguientes errores (acortado):

        ==== ebrRelease: tried

          http://repository.springsource.com/maven/bundles/release/org/springframework/security/spring-security-core/3.2.0.RC1/spring-security-core-3.2.0.RC1.pom

          -- artifact org.springframework.security#spring-security-core;3.2.0.RC1!spring-security-core.jar:

          http://repository.springsource.com/maven/bundles/release/org/springframework/security/spring-security-core/3.2.0.RC1/spring-security-core-3.2.0.RC1.jar

        ==== ebrExternal: tried

          http://repository.springsource.com/maven/bundles/external/org/springframework/security/spring-security-core/3.2.0.RC1/spring-security-core-3.2.0.RC1.pom

          -- artifact org.springframework.security#spring-security-core;3.2.0.RC1!spring-security-core.jar:

          http://repository.springsource.com/maven/bundles/external/org/springframework/security/spring-security-core/3.2.0.RC1/spring-security-core-3.2.0.RC1.jar

        ==== grailsCentral: tried

          http://grails.org/plugins/grails-spring-security-core/tags/RELEASE_3.2.0.RC1/spring-security-core-3.2.0.RC1.pom

          -- artifact org.springframework.security#spring-security-core;3.2.0.RC1!spring-security-core.jar:

          http://grails.org/plugins/grails-spring-security-core/tags/RELEASE_3.2.0.RC1/grails-spring-security-core-3.2.0.RC1.jar

        ==== mavenCentral: tried

          http://repo1.maven.org/maven2/org/springframework/security/spring-security-core/3.2.0.RC1/spring-security-core-3.2.0.RC1.pom

          -- artifact org.springframework.security#spring-security-core;3.2.0.RC1!spring-security-core.jar:

          http://repo1.maven.org/maven2/org/springframework/security/spring-security-core/3.2.0.RC1/spring-security-core-3.2.0.RC1.jar

                module not found: org.springframework.security#spring-security-web;3.2.0.RC1

        ==== grailsHome: tried

          C:\dev\springsource\grails-2.2.3\bin\../lib/org.springframework.security/spring-security-web/ivy-3.2.0.RC1.xml

          -- artifact org.springframework.security#spring-security-web;3.2.0.RC1!spring-security-web.jar:

          C:\dev\springsource\grails-2.2.3\bin\../lib/org.springframework.security/spring-security-web/jars/spring-security-web-3.2.0.RC1.jar

          C:\dev\springsource\grails-2.2.3\bin\../lib/org.springframework.security/spring-security-web/bundles/spring-security-web-3.2.0.RC1.jar

        ==== grailsHome: tried

          C:\dev\springsource\grails-2.2.3\bin\..\src\libs/spring-security-web-3.2.0.RC1.xml

          -- artifact org.springframework.security#spring-security-web;3.2.0.RC1!spring-security-web.jar:

          C:\dev\springsource\grails-2.2.3\bin\..\src\libs/spring-security-web-3.2.0.RC1.jar

        ==== grailsHome: tried

          C:\dev\springsource\grails-2.2.3\bin\..\dist/spring-security-web-3.2.0.RC1.xml

          -- artifact org.springframework.security#spring-security-web;3.2.0.RC1!spring-security-web.jar:

          C:\dev\springsource\grails-2.2.3\bin\..\dist/spring-security-web-3.2.0.RC1.jar

        ==== grailsHome: tried

          C:\dev\springsource\grails-2.2.3\bin\../plugins/spring-security-web-3.2.0.RC1.pom

          -- artifact org.springframework.security#spring-security-web;3.2.0.RC1!spring-security-web.jar:

          C:\dev\springsource\grails-2.2.3\bin\../plugins/spring-security-web-3.2.0.RC1.jar

        ==== ebrRelease: tried

          http://repository.springsource.com/maven/bundles/release/org/springframework/security/spring-security-web/3.2.0.RC1/spring-security-web-3.2.0.RC1.pom

          -- artifact org.springframework.security#spring-security-web;3.2.0.RC1!spring-security-web.jar:

          http://repository.springsource.com/maven/bundles/release/org/springframework/security/spring-security-web/3.2.0.RC1/spring-security-web-3.2.0.RC1.jar

        ==== ebrExternal: tried

          http://repository.springsource.com/maven/bundles/external/org/springframework/security/spring-security-web/3.2.0.RC1/spring-security-web-3.2.0.RC1.pom

          -- artifact org.springframework.security#spring-security-web;3.2.0.RC1!spring-security-web.jar:

          http://repository.springsource.com/maven/bundles/external/org/springframework/security/spring-security-web/3.2.0.RC1/spring-security-web-3.2.0.RC1.jar

        ==== grailsCentral: tried

          http://grails.org/plugins/grails-spring-security-web/tags/RELEASE_3.2.0.RC1/spring-security-web-3.2.0.RC1.pom

          -- artifact org.springframework.security#spring-security-web;3.2.0.RC1!spring-security-web.jar:

          http://grails.org/plugins/grails-spring-security-web/tags/RELEASE_3.2.0.RC1/grails-spring-security-web-3.2.0.RC1.jar

        ==== mavenCentral: tried

          http://repo1.maven.org/maven2/org/springframework/security/spring-security-web/3.2.0.RC1/spring-security-web-3.2.0.RC1.pom

          -- artifact org.springframework.security#spring-security-web;3.2.0.RC1!spring-security-web.jar:

          http://repo1.maven.org/maven2/org/springframework/security/spring-security-web/3.2.0.RC1/spring-security-web-3.2.0.RC1.jar

                ::::::::::::::::::::::::::::::::::::::::::::::

                ::          UNRESOLVED DEPENDENCIES         ::

                ::::::::::::::::::::::::::::::::::::::::::::::

                :: org.springframework.security#spring-security-core;3.2.0.RC1: not found

                :: org.springframework.security#spring-security-web;3.2.0.RC1: not found

                ::::::::::::::::::::::::::::::::::::::::::::::


| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):

- org.springframework.security:spring-security-core:3.2.0.RC1
- org.springframework.security:spring-security-web:3.2.0.RC1

También he añadido la ebr() repositorio a la lista de repositorios. Pero eso no cambia nada.

¿Qué se podría hacer para resolver este problema y descargue el plugin correctamente?

InformationsquelleAutor rpozarickij | 2013-10-05

2 Kommentare

  1. 0

    Intente esto:
    Cheque (preferible desde la misma consola), cada URL grails está tratando de descargar el

    curl --verbose  http://grails.org/plugins/grails-spring-security-core/tags/RELEASE_2.0-RC2/spring-security-core-2.0-RC2.pom

    En mi caso he detectado que http://grails.org repositorio ha sido trasladado a https://repo.grails.org

    HTTP/1.1 302 Found
    Date: Fri, 06 Mar 2015 01:59:30 GMT
    Content-Type: text/plain; charset=utf-8

    Content-Length: 0
    Connection: keep-alive
    expires=Sat, 05-Mar-16 01:59:29 GMT; path=/; domain=.grails.org; HttpOnly
    Ubicación: https://repo.grails.org/grails/plugins-releases-local/org/grails/plugins/spring-security-core/2.0-RC2/spring-security-core-2.0-RC2.pom

    Buena suerte!

Kommentieren Sie den Artikel

Bitte geben Sie Ihren Kommentar ein!
Bitte geben Sie hier Ihren Namen ein

Pruebas en línea