grails-plugins / grails-rest-client-builder

REST client plugin that uses Spring's RestTemplate
http://grails.org/plugin/rest-client-builder
Apache License 2.0
65 stars 32 forks source link

Dependency on grails-core breaks plugin compilation with Grails 2.3.3 #21

Closed pledbrook closed 10 years ago

pledbrook commented 10 years ago

Version 2.0.0 of the plugin depends on grails-core 2.3.1. If you include that version of the plugin as a build dependency in your own plugin and try to build your plugin with Grails 2.3.3, you'll get this error:

| Installed plugin rest-client-builder-2.0.0.....
| Error Error executing script Compile: groovy.lang.MissingMethodException: No signature of method: org.codehaus.groovy.grails.compiler.GrailsProjectCompiler.reconfigureClasspath() is applicable for argument types: () values: []
Possible solutions: configureClasspath() (Use --stacktrace to see the full trace)

I have a sample project, although need a way to make it available.

pledbrook commented 10 years ago

Bug report project on Dropbox.

pledbrook commented 10 years ago

BTW, version 1.0.3 of the plugin also has a bad POM: it's packaging type is "xml"

graemerocher commented 10 years ago

fixed with 2.0.0 of the plugin