getLogger().info("updating poms for all projects...");
getLogger().info("turn on debug logging with -X to see exact changes");
for (MavenProject project : reactorProjects)
{
ProjectChangeset changes = new ProjectChangeset()
.with(parentReleaseVersionChange(originalVersions, preHotfixVersions))
.with(projectReleaseVersionChange(preHotfixVersions))
.with(artifactReleaseVersionChange(originalVersions, preHotfixVersions, ctx.isUpdateDependencies()))
.with(scmDefaultTagChange(preHotfixVersions));
try
{
getLogger().info("updating pom for " + project.getName() + "...");
for (String desc : changes.getChangeDescriptionsOrSummaries())
{
getLogger().debug(" " + desc);
}
projectRewriter.applyChanges(project, changes);