2013-04-26 6 views
0

Grails 2.2.1을 사용하고 검색 가능한 플러그인 버전 0.6.4를 설치하려고합니다.Grails 검색 플러그인 설치 오류

명명 된 프록시를 추가했으며 설정되었습니다. 이것은 문제가되지 않는 것 같습니다.

나는 다음과 같이 buildConfig.groovy을 변경했습니다 :

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

    grailsPlugins() 
    grailsHome() 
    grailsCentral() 

    mavenLocal() 
    mavenCentral() 

    // uncomment these (or add new ones) to enable remote dependency resolution from public Maven repositories 
    mavenRepo "http://snapshots.repository.codehaus.org" 
    //mavenRepo "http://repository.codehaus.org" 
    //mavenRepo "http://download.java.net/maven/2/" 
    //mavenRepo "http://repository.jboss.com/maven2/" 
} 

을 다음과 같은 종속

dependencies { 
    // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes e.g. 
    compile ":searchable:0.6.4" 
    runtime 'mysql:mysql-connector-java:5.1.22' 
} 

내가

| Downloading: searchable-0.6.4.pom.sha1 
:: problems summary :: 
:::: WARNINGS 
      :::::::::::::::::::::::::::::::::::::::::::::: 

      ::   UNRESOLVED DEPENDENCIES   :: 

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

      :: #searchable;0.6.4: java.text.ParseException: inconsistent module 
descriptor file found in 'http://grails.org/plugins/grails-searchable/tags/RELEASE_0_6_4/searchable-0.6.4.pom': bad organisation: expected='' found='org.grails.plugins'; 

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


:::: ERRORS 
      grailsCentral: bad organisation found in http://grails.org/plugins/grails-searchable/tags/RELEASE_0_6_4/searchable-0.6.4.pom: expected='' found='org.grails.plugins' 

| Downloading: searchable-0.6.4.pom.sha1 
:: problems summary :: 
:::: WARNINGS 
      :::::::::::::::::::::::::::::::::::::::::::::: 

      ::   UNRESOLVED DEPENDENCIES   :: 

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

등 다음과 같은 오류를 가지고 컴파일 .

힌트가 있습니까?

감사합니다.

답변

3

플러그인 블록에 넣으십시오. 바로 지금 그것의 종속성에.

dependencies { 
    // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes e.g. 

    } 

    plugins { 
     compile ":searchable:0.6.4" 
    }