Printing the updated versions

fixes #31
This commit is contained in:
Marcin Grzejszczak
2017-06-05 15:52:18 +02:00
parent fce0ff8e3a
commit aa9f580027

View File

@@ -57,9 +57,9 @@ public class ProjectPomUpdater {
this.gitRepo.checkout(clonedScRelease, this.properties.getPom().getBranch());
SCReleasePomParser sCReleasePomParser = new SCReleasePomParser(clonedScRelease);
Versions versions = sCReleasePomParser.allVersions();
log.info("Retrieved the following versions\n{}", versions);
log.info("Will update the following versions manually [{}]", this.properties.getFixedVersions());
this.properties.getFixedVersions().forEach(versions::setVersion);
log.info("Retrieved the following versions\n{}", versions);
return versions.toProjectVersions();
}