List<MavenProject> projects = createReactorProjects("release-projects", projectName);
File projectRoot = projects.get(0).getBasedir();
MavenSession session = new MavenSession(getContainer(), new Settings(), localRepository, null, null, null, projectRoot.getAbsolutePath(), new Properties(), new Properties(), null);
ReleaseContext ctx = new ReleaseContext(projectRoot);
ctx.setInteractive(false);
ctx.setNoBuild(true).setScmCommentPrefix(commentPrefix).setScmCommentSuffix(commentSuffix);
JGitFlow flow = JGitFlow.getOrInit(projectRoot);
setupProjectsForMasterAndDevelop(projectRoot,projectName);
FlowReleaseManager relman = getReleaseManager();
relman.start(ctx, projects, session);
assertOnRelease(flow, ctx.getDefaultReleaseVersion());
//reload the projects
projects = createReactorProjectsNoClean("release-projects", projectName);
relman.finish(ctx, projects, session);