ReleaseContext ctx = new ReleaseContext(projectRoot);
ctx.setInteractive(false).setEnableFeatureVersions(true).setNoBuild(true).setFlowInitContext(initContext);
MavenSession session = new MavenSession(getContainer(), new Settings(), localRepository, null, null, null, projectRoot.getAbsolutePath(), new Properties(), new Properties(), null);
relman.finish(ctx, projects, session);
assertEquals(developName,flow.git().getRepository().getBranch());
//reload the projects
projects = createReactorProjectsNoClean("rewrite-for-release", projectSubdir);