The validate mojo does what you're asking for ( http://maven.apache.org/scm/plugins/validate-mojo.html). So if you get that executed early in the release process you would do that. I guess there are several ways of doing that. One having a release profile with this binding. Another specifying scm:validate as a preparationGoal for the release:prepare process.
/Anders 2010/9/27 Lóránt Pintér <[email protected]> > Hi, > > The release plugin checks a lot of things, like local modifications > and such, but the contents of the <scm> tag is not among them. I'm not > sure if it is possible to check with every SCM provider, but with SVN > it would be nice if it threw an error (preferably in the beginning) if > the connection points to a wrong location. We have just managed to > release the wrong branch for the umpteenth time. :) Is this possible > to solve? > > Thanks, > Lóránt > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
