2011/6/21 Frédéric Conrotte <frederic.conro...@victorbuckservices.com>: > Hello > > Say you have a module named "parent" which has 2 childs "childA" and "ChildB" > > If I run > mvn release:branch -DbranchName=my-branch > in the "parent" folder, it will branch the parent module code to SVN > /branches/my-branch WITHOUT the 2 child modules. > > I would like release:branch to branch the parent module and all its children > to > . /branches/my-branch/parent > . /branches/my-branch/childA > . /branches/my-branch/childB > > I didn't found any solution in the doc yet: > . http://maven.apache.org/plugins/maven-release-plugin/branch-mojo.html > . http://maven.apache.org/plugins/maven-release-plugin/examples/branch.html > > Is it feasible ? Or do I have to run the command for every module I want to > branch ? > > Any help would be appreciated, thanks
We run the branch command manually. I've never tried getting the release plugin to do this for us. And as Nick suggests, move your parent one directory higher. While Maven allows a Flat structure, there are lots of hidden gotchas because a Hierarchy is really implied internally. Perhaps you are running into one of these. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org