public void testCommitMultiModule()
throws Exception
{
// prepare
ReleaseDescriptor descriptor = new ReleaseDescriptor();
List<MavenProject> reactorProjects = createReactorProjects( "scm-commit/", "multiple-poms" );
descriptor.setScmSourceUrl( "scm-url" );
MavenProject rootProject = ReleaseUtil.getRootProject( reactorProjects );
descriptor.setWorkingDirectory( getPath (rootProject.getFile().getParentFile() ) );
descriptor.setScmReleaseLabel( "release-label" );
descriptor.setScmCommentPrefix( "[my prefix]" );
ScmFileSet fileSet = new ScmFileSet( rootProject.getFile().getParentFile() );
ScmProvider scmProviderMock = mock( ScmProvider.class );
when( scmProviderMock.tag( isA( ScmRepository.class ),