5

Grails 2.0.4を使用して、これを使用してインストールしようとしrest-client-builder:1.0.2ています...

grails install-plugin rest-client-builder

...しかし、Grails は以下のエラーを返します。クリーニング、依存関係の更新などを試みましたが、同じエラーが発生し続けます...

:: #rest-client-builder;1.0.2: java.text.ParseException: inconsistent module descriptor file found in 'http://plugins.grails.org/grails-rest-client-builder/tags/RELEASE_1_0_2/rest-client-builder-1.0.2.pom': bad organisation: expected='' found='org.grails.plugins'; 

また、プラグインを から依存関係としてリンクしようとしましたBuildConfig.groovyが、同様のエラーが発生します...

compile (":rest-client-builder:1.0.2"){ export = false}

grailsCentral: bad organisation found in http://plugins.grails.org/grails-rest-client-builder/tags/RELEASE_1_0_2/rest-client-builder-1.0.2.pom: expected='' found='org.grails.plugins'
4

1 に答える 1

7

セクションに配置したように見えますが、dependenciesセクションに配置する必要がありますplugins

plugins {
   compile(':rest-client-builder:1.0.2') {
      export = false
   }
}

スクリプトが追加するプラグインを削除し、にのみapplication.propertiesプラグインを含める必要があります。install-pluginBuildConfig.groovy

于 2012-11-28T01:54:55.357 に答える