Pradeep Nambiar
added a comment - 21/Jan/13 6:29 PM I tried webflow 2.0.0 as suggested, but it is giving the following error.
I think this is a serious issue as I cannot proceed using webflow with the latest Graisl 2.2.0 version.
Here is the error with webflow 2.0.0
d:\ggts\workspace\XXXXXX>grails install-plugin webflow 2.0.0
Environment set to development.....
Warning The install-plugin command is deprecated and may be removed from a future version of Grails. Plugin dependencies should be expressed in grails-app/conf/BuildConfig.groovy. See http://grails.org/doc/2.2.x/guide/conf.html#pluginDependencies .
Plugin installed.
d:\ggts\workspace\ppsconfig>grails compile
Configuring classpath
Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
org.grails:grails-webflow:2.0.0

@Jeroen Wesbeek - your configuration is incorrect and does not match the previous example I presented in the comments. Your plugin version is "2.2.0" whilst it should be "2.0.0". Please see my example that I showed previously

Graeme Rocher
added a comment - 23/Jan/13 12:16 AM @Jeroen Wesbeek - your configuration is incorrect and does not match the previous example I presented in the comments. Your plugin version is "2.2.0" whilst it should be "2.0.0". Please see my example that I showed previously

Jeroen Wesbeek
added a comment - 23/Jan/13 12:27 AM - edited Thanks for the clarification Graeme, I was under the impression that you mixed the 2.2.0 and 2.0.0 versions in error (this tickets is about 2.0.0 and my ticket was about 2.2.0).
It's still not clear to me as to why this happens, but as long as it works I'm good with it...
I added documentation for this fix to my AjaxFlow plugin ...

At the time the 2.0.0 plugin was published, it had the grails-webflow 2.0.0 library as a dependency, which I recall to be working fine around that time. However, apparently this library was at some time unpublished / deleted because it does not exist anymore: http://mvnrepository.com/artifact/org.grails/grails-webflow. The latest version of grails-webflow is now 2.2.0, but even versions like 2.0.1 exist.

The workaround Graeme published fixes this problem by effectively removing the dependency on grails-webflow 2.0.0 from the webflow plugin and explicitly declaring grails-webflow 2.2.0 (if you are using Grails 2.2.0) as dependency, which works for now.

Graeme, are you are Burt Beckwith the maintainer of webflow? I would happy to help maintaining the plugin and run a publish-plugin command but I guess there is a good reason the webflow source is still at 2.2.0.BUILD-SNAPSHOT and not yet published?

Kees van Bochove
added a comment - 23/Jan/13 2:21 AM My guess about what happened:
The latest published webflow plugin is 2.0.0, later versions were never published: http://repo.grails.org/grails/simple/plugins-releases-local/org/grails/plugins/webflow .
At the time the 2.0.0 plugin was published, it had the grails-webflow 2.0.0 library as a dependency, which I recall to be working fine around that time. However, apparently this library was at some time unpublished / deleted because it does not exist anymore: http://mvnrepository.com/artifact/org.grails/grails-webflow . The latest version of grails-webflow is now 2.2.0, but even versions like 2.0.1 exist.
The workaround Graeme published fixes this problem by effectively removing the dependency on grails-webflow 2.0.0 from the webflow plugin and explicitly declaring grails-webflow 2.2.0 (if you are using Grails 2.2.0) as dependency, which works for now.
I guess what we are waiting for is for the maintainer of the webflow plugin to publish the current HEAD version of the webflow plugin ( https://github.com/grails-plugins/grails-webflow-plugin ) using Grails 2.2.0. This would solve the problem since https://github.com/grails-plugins/grails-webflow-plugin/blob/master/grails-app/conf/BuildConfig.groovy declares a dependecy on grails-webflow based on the Grails version:
dependencies {
compile("org.grails:grails-webflow:${grailsVersion}")
}
Graeme, are you are Burt Beckwith the maintainer of webflow? I would happy to help maintaining the plugin and run a publish-plugin command but I guess there is a good reason the webflow source is still at 2.2.0.BUILD-SNAPSHOT and not yet published?