Refactored core

This commit is contained in:
Marcin Grzejszczak
2019-09-04 18:41:32 +02:00
parent c584a7a98a
commit a2983ffa56
31 changed files with 438 additions and 207 deletions

View File

@@ -252,7 +252,7 @@ public class SpringReleaser {
if (this.properties.getGit().isFetchVersionsFromGit()
&& !this.properties.getMetaRelease().isEnabled()) {
printVersionRetrieval();
projectsToUpdate = this.releaser.retrieveVersionsFromSCRelease();
projectsToUpdate = this.releaser.retrieveVersionsFromBom();
versionFromBom = assertNoSnapshotsForANonSnapshotProject(project,
projectsToUpdate);
}

View File

@@ -710,8 +710,8 @@ public class AcceptanceTests {
this.releaserProperties);
DocumentationUpdater documentationUpdater = new TestDocumentationUpdater(
properties,
new TestDocumentationUpdater.TestCustomProjectDocumentationUpdater(properties,
gitHandler, "Brixton.SR1"),
new TestDocumentationUpdater.TestCustomProjectDocumentationUpdater(
properties, gitHandler, "Brixton.SR1"),
new TestDocumentationUpdater.TestReleaseContentsUpdater(properties,
gitHandler, templateGenerator)) {
@Override