#144 - Polishing.
Skip BOM project for announcement summary and distribution. Fix Geode/GemFire issue tracker duality.
This commit is contained in:
@@ -42,7 +42,7 @@ public class AnnouncementOperations {
|
|||||||
|
|
||||||
StringBuilder builder = new StringBuilder();
|
StringBuilder builder = new StringBuilder();
|
||||||
|
|
||||||
iteration.getModulesExcept(BUILD).forEach(module -> {
|
iteration.getModulesExcept(BUILD, BOM).forEach(module -> {
|
||||||
|
|
||||||
Project project = module.getProject();
|
Project project = module.getProject();
|
||||||
|
|
||||||
|
|||||||
@@ -113,6 +113,10 @@ class MavenBuildSystem implements BuildSystem {
|
|||||||
return module;
|
return module;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (BOM.equals(project)) {
|
||||||
|
return module;
|
||||||
|
}
|
||||||
|
|
||||||
if (!isMavenProject(project)) {
|
if (!isMavenProject(project)) {
|
||||||
logger.log(project, "Skipping project as no pom.xml could be found in the working directory!");
|
logger.log(project, "Skipping project as no pom.xml could be found in the working directory!");
|
||||||
return module;
|
return module;
|
||||||
@@ -235,12 +239,14 @@ class MavenBuildSystem implements BuildSystem {
|
|||||||
.and(arg("generateBackupPoms").withValue("false")));
|
.and(arg("generateBackupPoms").withValue("false")));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (BUILD.equals(project) && !module.getTrain().usesCalver()) {
|
if (BUILD.equals(project)) {
|
||||||
|
|
||||||
mvn.execute(project, goals.and(arg("newVersion").withValue(information.getReleaseTrainNameVersion())) //
|
if (!module.getTrain().usesCalver()) {
|
||||||
.and(arg("generateBackupPoms").withValue("false")) //
|
mvn.execute(project, goals.and(arg("newVersion").withValue(information.getReleaseTrainNameVersion())) //
|
||||||
.and(arg("groupId").withValue("org.springframework.data")) //
|
.and(arg("generateBackupPoms").withValue("false")) //
|
||||||
.and(arg("artifactId").withValue("spring-data-releasetrain")));
|
.and(arg("groupId").withValue("org.springframework.data")) //
|
||||||
|
.and(arg("artifactId").withValue("spring-data-releasetrain")));
|
||||||
|
}
|
||||||
|
|
||||||
mvn.execute(project, CommandLine.of(Goal.INSTALL));
|
mvn.execute(project, CommandLine.of(Goal.INSTALL));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -306,7 +306,7 @@ class Jira implements JiraConnector {
|
|||||||
|
|
||||||
Tickets tickets = getTicketsFor(moduleIteration);
|
Tickets tickets = getTicketsFor(moduleIteration);
|
||||||
|
|
||||||
if (tickets.hasReleaseTicket(moduleIteration) || moduleIteration.getProject() == Projects.GEODE) {
|
if (tickets.hasReleaseTicket(moduleIteration) || moduleIteration.getProject() == Projects.GEMFIRE) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user