List<MavenProject> projects = createReactorProjects("rewrite-for-release", projectSubdir,false);
File projectRoot = projects.get(0).getBasedir();
FlowReleaseManager relman = getFeatureManager();
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);