Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.3 final
-
Fix Version/s: 3.0
-
Component/s: None
-
Labels:None
Description
Let's say I want to use the Maven Publisher plugin to publish my own plugin. Based on the behaviour of applications, one might think that adding it to the dependencies in BuildConfig.groovy should work:
plugins {
build ":maven-publisher:0.5"
}
But it doesn't. When I execute grails maven-install, Grails says it can't find the MavenInstall script. After I have run grails run-app, the maven-install command becomes available.
Actually, this may be more of an issue of when plugins are resolved. If I try the same syntax with an application and then try to run grails maven-install, Grails complains that it can't find the MavenInstall script. I'm not sure when Grails resolves new plugins using the dependency DSL, but it doesn't seem to do it at the right time.