I have my doubts about this patch. This implementation won't work for flat multi-modules projects.
Also, I don't think that nesting the release-plugin (that's what is actually happening here) is a good idea.
IMO you should use the maven-invoker-plugin to fork a new Maven-call for the branch.

Robert Scholte
added a comment - 26/Jun/12 18:10 I have my doubts about this patch. This implementation won't work for flat multi-modules projects.
Also, I don't think that nesting the release-plugin (that's what is actually happening here) is a good idea.
IMO you should use the maven-invoker-plugin to fork a new Maven-call for the branch.