Using Grails 2.0.4, I’m trying to install rest-client-builder:1.0.2 using this…
grails install-plugin rest-client-builder
…but Grails returns the error below; I’ve tried cleaning, refreshing dependencies, etc., keep getting the same error…
:: #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';
Also tried linking the plugin as a dependency from BuildConfig.groovy, but I get a similar error…
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'
Looks like you put it in the
dependenciessection but it should be in thepluginssection:You should remove the plugins that are still in
application.propertiesthat theinstall-pluginscript adds and only have them inBuildConfig.groovy.