Closed graemerocher closed 9 years ago
graemerocher said: See the comments on GRAILS-9781 for how to install the plugin, this issue is a duplicate
duh said: Also note that this issue is reproducible by at least 4 colleagues, as well on a clean Mac Mini...
Original Reporter: duh Environment: Mac OS X Mountain Lion, Grails 2.2.0, WebFlow 2.2.0 Version: 2.2 Migrated From: http://jira.grails.org/browse/GRAILS-9783
Webflow plugin dependency cannot be found. Similar to (or the same as) GRAILS-9781.
Steps to reproduce:
{code}
The compilation will fail as the webflow plugin cannot be found, even though it [does exist|http://www.versioneye.com/package/org~grails--grails-webflow/version/2~2~0].
If you look at the maven central error, you see that Grails is actually looking in the wrong place. It uses the following URL: {code} ==== mavenCentral: tried http://repo1.maven.org/maven2/org/grails/plugins/webflow/2.2.0/webflow-2.2.0.pom -- artifact org.grails.plugins#webflow;2.2.0!webflow.zip: http://repo1.maven.org/maven2/org/grails/plugins/webflow/2.2.0/webflow-2.2.0.zip {code}
While in fact the plugin is located at (grails-webflow instead of plugins/grails/webflow): {code} http://repo1.maven.org/maven2/org/grails/grails-webflow/2.2.0/ {code}
The same goes for all [other maven repositories|http://mvnrepository.com/artifact/org.grails/grails-webflow] that contain the webflow plugin. Everywhere grails-webflow is used instead of plugins/grails/webflow causing grails to fail in finding the plugin...
:: problems summary :: :::: WARNINGS module not found: org.grails.plugins#webflow;2.2.0 ==== grailsPlugins: tried -- artifact org.grails.plugins#webflow;2.2.0!webflow.zip: /Users/jeroen/Desktop/dummy/lib/webflow-2.2.0.zip ==== grailsHome: tried /opt/local/share/java/grails/lib/org.grails.plugins/webflow/ivy-2.2.0.xml -- artifact org.grails.plugins#webflow;2.2.0!webflow.zip: /opt/local/share/java/grails/lib/org.grails.plugins/webflow/jars/webflow-2.2.0.zip /opt/local/share/java/grails/lib/org.grails.plugins/webflow/bundles/webflow-2.2.0.zip ==== grailsHome: tried /opt/local/share/java/grails/src/libs/webflow-2.2.0.xml -- artifact org.grails.plugins#webflow;2.2.0!webflow.zip: /opt/local/share/java/grails/src/libs/webflow-2.2.0.zip ==== grailsHome: tried /opt/local/share/java/grails/dist/webflow-2.2.0.xml -- artifact org.grails.plugins#webflow;2.2.0!webflow.zip: /opt/local/share/java/grails/dist/webflow-2.2.0.zip ==== grailsHome: tried /Users/jeroen/.grails/2.2.0/cached-installed-plugins/webflow-2.2.0.xml -- artifact org.grails.plugins#webflow;2.2.0!webflow.zip: /Users/jeroen/.grails/2.2.0/cached-installed-plugins/webflow-2.2.0.zip ==== grailsHome: tried /opt/local/share/java/grails/plugins/webflow-2.2.0.pom -- artifact org.grails.plugins#webflow;2.2.0!webflow.zip: /opt/local/share/java/grails/plugins/webflow-2.2.0.zip ==== grailsCentral: tried http://grails.org/plugins/grails-webflow/tags/RELEASE_2.2.0/webflow-2.2.0.pom -- artifact org.grails.plugins#webflow;2.2.0!webflow.zip: http://grails.org/plugins/grails-webflow/tags/RELEASE_2.2.0/grails-webflow-2.2.0.zip ==== localMavenResolver: tried /Users/jeroen/.m2/repository/org/grails/plugins/webflow/2.2.0/webflow-2.2.0.pom -- artifact org.grails.plugins#webflow;2.2.0!webflow.zip: /Users/jeroen/.m2/repository/org/grails/plugins/webflow/2.2.0/webflow-2.2.0.zip ==== mavenCentral: tried http://repo1.maven.org/maven2/org/grails/plugins/webflow/2.2.0/webflow-2.2.0.pom -- artifact org.grails.plugins#webflow;2.2.0!webflow.zip: http://repo1.maven.org/maven2/org/grails/plugins/webflow/2.2.0/webflow-2.2.0.zip :::::::::::::::::::::::::::::::::::::::::::::: :: UNRESOLVED DEPENDENCIES :: :::::::::::::::::::::::::::::::::::::::::::::: :: org.grails.plugins#webflow;2.2.0: not found ::::::::::::::::::::::::::::::::::::::::::::::
:: problems summary :: :::: WARNINGS module not found: org.grails.plugins#webflow;2.2.0 ==== grailsPlugins: tried -- artifact org.grails.plugins#webflow;2.2.0!webflow.zip: /Users/jeroen/Desktop/dummy/lib/webflow-2.2.0.zip ==== grailsHome: tried /opt/local/share/java/grails/lib/org.grails.plugins/webflow/ivy-2.2.0.xml -- artifact org.grails.plugins#webflow;2.2.0!webflow.zip: /opt/local/share/java/grails/lib/org.grails.plugins/webflow/jars/webflow-2.2.0.zip /opt/local/share/java/grails/lib/org.grails.plugins/webflow/bundles/webflow-2.2.0.zip ==== grailsHome: tried /opt/local/share/java/grails/src/libs/webflow-2.2.0.xml -- artifact org.grails.plugins#webflow;2.2.0!webflow.zip: /opt/local/share/java/grails/src/libs/webflow-2.2.0.zip ==== grailsHome: tried /opt/local/share/java/grails/dist/webflow-2.2.0.xml -- artifact org.grails.plugins#webflow;2.2.0!webflow.zip: /opt/local/share/java/grails/dist/webflow-2.2.0.zip ==== grailsHome: tried /Users/jeroen/.grails/2.2.0/cached-installed-plugins/webflow-2.2.0.xml -- artifact org.grails.plugins#webflow;2.2.0!webflow.zip: /Users/jeroen/.grails/2.2.0/cached-installed-plugins/webflow-2.2.0.zip ==== grailsHome: tried /opt/local/share/java/grails/plugins/webflow-2.2.0.pom -- artifact org.grails.plugins#webflow;2.2.0!webflow.zip: /opt/local/share/java/grails/plugins/webflow-2.2.0.zip ==== grailsCentral: tried http://grails.org/plugins/grails-webflow/tags/RELEASE_2.2.0/webflow-2.2.0.pom -- artifact org.grails.plugins#webflow;2.2.0!webflow.zip: http://grails.org/plugins/grails-webflow/tags/RELEASE_2.2.0/grails-webflow-2.2.0.zip ==== localMavenResolver: tried /Users/jeroen/.m2/repository/org/grails/plugins/webflow/2.2.0/webflow-2.2.0.pom -- artifact org.grails.plugins#webflow;2.2.0!webflow.zip: /Users/jeroen/.m2/repository/org/grails/plugins/webflow/2.2.0/webflow-2.2.0.zip ==== mavenCentral: tried http://repo1.maven.org/maven2/org/grails/plugins/webflow/2.2.0/webflow-2.2.0.pom -- artifact org.grails.plugins#webflow;2.2.0!webflow.zip: http://repo1.maven.org/maven2/org/grails/plugins/webflow/2.2.0/webflow-2.2.0.zip :::::::::::::::::::::::::::::::::::::::::::::: :: UNRESOLVED DEPENDENCIES :: :::::::::::::::::::::::::::::::::::::::::::::: :: org.grails.plugins#webflow;2.2.0: not found ::::::::::::::::::::::::::::::::::::::::::::::
| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):