I'm having a similar issue. I created my own plugin, added it to Artifactory (I was trying to follow the article by Peter Ledbrook at http://blog.springsource.com/2010/05/18/managing-plugins-with-grails-1-3/), and trying to make a Grails 1.3.2 project depend on it in BuildConfig.groovy:
plugins
{
build 'org.grails.plugins:mdp-core:0.1'
runtime 'org.grails.plugins:mdp-core:0.1'
compile 'org.grails.plugins:mdp-core:0.1'
test 'org.grails.plugins:mdp-core:0.1'
provided 'org.grails.plugins:mdp-core:0.1'
}
When I run any task in my app, it says it can't resolve the plugin. However I have the POM and ZIP located at one of the urls it tries - it just never actually seems to try and connect. When I try the urls by hand in a browser its complaining about, they work (files download).
==== http://hudson.blah.com:8080/artifactory/plugins-releases-local: tried
http://hudson.blah.com:8080/artifactory/plugins-releases-local/org/grails/plugins/mdp-core/0.1/mdp-core-0.1-jar.pom
– artifact org.grails.plugins#mdp-core;0.1!mdp-core.zip:
http://hudson.blah.com:8080/artifactory/plugins-releases-local/org/grails/plugins/mdp-core/0.1/mdp-core-0.1-jar.zip
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.grails.plugins#mdp-core;0.1: not found
::::::::::::::::::::::::::::::::::::::::::::::
I even installed tinyproxy and set up Grails to use the proxy. I got no hits while it's trying to resolve this (Yes I did verify my .grails/ProxyConfig.groovy is there and correct). It appears it doesn't even try.
While debugging in the grails source it never even gets to the method 'File resolvePluginZip(String pluginName, String pluginVersion, String scope = "", Map args = [:]) {' in PluginResolveEngine.java as far as I can tell.
It seems something deep down is triggering the error and setting that error report back with stuff it says it tried, but really didn't.
I'm having a similar issue. I created my own plugin, added it to Artifactory (I was trying to follow the article by Peter Ledbrook at http://blog.springsource.com/2010/05/18/managing-plugins-with-grails-1-3/), and trying to make a Grails 1.3.2 project depend on it in BuildConfig.groovy:
plugins
{ build 'org.grails.plugins:mdp-core:0.1' runtime 'org.grails.plugins:mdp-core:0.1' compile 'org.grails.plugins:mdp-core:0.1' test 'org.grails.plugins:mdp-core:0.1' provided 'org.grails.plugins:mdp-core:0.1' }When I run any task in my app, it says it can't resolve the plugin. However I have the POM and ZIP located at one of the urls it tries - it just never actually seems to try and connect. When I try the urls by hand in a browser its complaining about, they work (files download).
==== http://hudson.blah.com:8080/artifactory/plugins-releases-local: tried
http://hudson.blah.com:8080/artifactory/plugins-releases-local/org/grails/plugins/mdp-core/0.1/mdp-core-0.1-jar.pom
– artifact org.grails.plugins#mdp-core;0.1!mdp-core.zip:
http://hudson.blah.com:8080/artifactory/plugins-releases-local/org/grails/plugins/mdp-core/0.1/mdp-core-0.1-jar.zip
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.grails.plugins#mdp-core;0.1: not found
::::::::::::::::::::::::::::::::::::::::::::::
I even installed tinyproxy and set up Grails to use the proxy. I got no hits while it's trying to resolve this (Yes I did verify my .grails/ProxyConfig.groovy is there and correct). It appears it doesn't even try.
While debugging in the grails source it never even gets to the method 'File resolvePluginZip(String pluginName, String pluginVersion, String scope = "", Map args = [:]) {' in PluginResolveEngine.java as far as I can tell.
It seems something deep down is triggering the error and setting that error report back with stuff it says it tried, but really didn't.