2013-10-05 22 views
25

私はspring-security-coreプラグインをプロジェクトにインストールしようとしていますが、リポジトリのいずれにもプラグインファイルが見つからないようです。spring-security-coreプラグインの依存関係問題

私はBuildConfigファイルのプラグインセクションに次の行を追加:Grailsのは、私はエラー(短縮)以下になってるのコマンドをコンパイルし実行した後

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

 ==== 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 

を私も(EBRを追加しました)リポジトリリストへのリポジトリ。しかしそれは何も変わらなかった。

この問題を解決してプラグインを正しくダウンロードするにはどうすればよいですか?

答えて

0

はこれを試してみてください: チェック(同じコンソールから好ましい)、すべてのURLのGrailsは

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

をダウンロードしようとしています私の場合、私はそれを検出しましたhttp://grails.orgリポジトリh 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 接続:キープアライブ の有効期限が切れる=土曜、05日 - 3月 - 16午前1時59分29秒GMTを。パス= /; domain = .grails.org; HttpOnly 所在地:https://repo.grails.org/grails/plugins-releases-local/org/grails/plugins/spring-security-core/2.0-RC2/spring-security-core-2.0-RC2.pom

幸運!