#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();
|
||||
|
||||
iteration.getModulesExcept(BUILD).forEach(module -> {
|
||||
iteration.getModulesExcept(BUILD, BOM).forEach(module -> {
|
||||
|
||||
Project project = module.getProject();
|
||||
|
||||
|
||||
@@ -113,6 +113,10 @@ class MavenBuildSystem implements BuildSystem {
|
||||
return module;
|
||||
}
|
||||
|
||||
if (BOM.equals(project)) {
|
||||
return module;
|
||||
}
|
||||
|
||||
if (!isMavenProject(project)) {
|
||||
logger.log(project, "Skipping project as no pom.xml could be found in the working directory!");
|
||||
return module;
|
||||
@@ -235,12 +239,14 @@ class MavenBuildSystem implements BuildSystem {
|
||||
.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())) //
|
||||
.and(arg("generateBackupPoms").withValue("false")) //
|
||||
.and(arg("groupId").withValue("org.springframework.data")) //
|
||||
.and(arg("artifactId").withValue("spring-data-releasetrain")));
|
||||
if (!module.getTrain().usesCalver()) {
|
||||
mvn.execute(project, goals.and(arg("newVersion").withValue(information.getReleaseTrainNameVersion())) //
|
||||
.and(arg("generateBackupPoms").withValue("false")) //
|
||||
.and(arg("groupId").withValue("org.springframework.data")) //
|
||||
.and(arg("artifactId").withValue("spring-data-releasetrain")));
|
||||
}
|
||||
|
||||
mvn.execute(project, CommandLine.of(Goal.INSTALL));
|
||||
}
|
||||
|
||||
@@ -306,7 +306,7 @@ class Jira implements JiraConnector {
|
||||
|
||||
Tickets tickets = getTicketsFor(moduleIteration);
|
||||
|
||||
if (tickets.hasReleaseTicket(moduleIteration) || moduleIteration.getProject() == Projects.GEODE) {
|
||||
if (tickets.hasReleaseTicket(moduleIteration) || moduleIteration.getProject() == Projects.GEMFIRE) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user