I have 2 grails plugins as maven modules under a parent POM, when I run "mvn grails:set-version" from the parent, I get:
Looking at the SetVersion script, the flow for a plugin is different to an application and it tries to access the Plugin.groovy file without any supplied relative path.
That's the problem, I can't speak to the fix, I'm also waiting on the solution
MAVEN-154 which is another multi-module problem.
FYI, Overall it's the release process I'm trying to setup, but the issue is visible using set-version alone.
Steps to reproduce:
Attached are the changes to the plugin POMs and the root POM. You can run
From within the plugins without problems, but when you run it from the parent, either as is or with the -pl switch, it fails with the above error message.