//reload the reactor projects for release
List<MavenProject> branchProjects = branchHelper.getProjectsForCurrentBranch();
pomUpdater.addSnapshotToPomVersions(cacheKey, versionType, versionSuffix, branchProjects);
projectHelper.commitAllPoms(flow.git(), branchProjects, ctx.getScmCommentPrefix() + "updating poms for branch '" + unprefixedBranchName + "' with snapshot versions" + ctx.getScmCommentSuffix());
}
catch (Exception e)
{
throw new JGitFlowExtensionException("Error updating poms with snapshot versions for branch '" + unprefixedBranchName + "' : " + e.getMessage(),e);
}