mapNextVersion( config, "groupId:artifactId" );
ScmProvider scmProviderMock = mock( ScmProvider.class );
ScmManagerStub scmManager = new ScmManagerStub();
DefaultScmRepositoryConfigurator configurator =
(DefaultScmRepositoryConfigurator) lookup( ScmRepositoryConfigurator.ROLE );
configurator.setScmManager( scmManager );
scmManager.setScmProvider( scmProviderMock );
// execute
phase.simulate( config, new DefaultReleaseEnvironment(), reactorProjects );