Skip to content

Commit

Permalink
Simplify logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalaga authored and gnodet committed Oct 23, 2020
1 parent a11b4c4 commit 8efcf61
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -150,7 +150,7 @@ private void logCompleted(MavenProject project) {
logger.warn("Unexpected project build summary class {}", buildSummary.getClass());
message = "UNKNOWN";
}
logger.debug("{} build of project {}", message, projectGA(project));
logger.debug("{} build of project {}:{}", message, project.getGroupId(), project.getArtifactId());
}

private void shutdown() {
Expand All @@ -161,13 +161,13 @@ private void submitAll(Set<MavenProject> readyProjects) {
List<ProjectBuildTask> tasks = new ArrayList<>();
for (MavenProject project : readyProjects) {
tasks.add(new ProjectBuildTask(project));
logger.debug("Ready {}", projectGA(project));
logger.debug("Ready {}:{}", project.getGroupId(), project.getArtifactId());
}
executor.submitAll(tasks);
}

/* package */void buildProject(MavenProject project) {
logger.debug("STARTED build of project {}", projectGA(project));
logger.debug("STARTED build of project {}:{}", project.getGroupId(), project.getArtifactId());

try {
MavenSession copiedSession = rootSession.clone();
Expand Down

0 comments on commit 8efcf61

Please sign in to comment.