You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2024/07/07 12:42:17 UTC
(maven) branch elharo-patch-1 created (now d81d36c267)
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a change to branch elharo-patch-1
in repository https://gitbox.apache.org/repos/asf/maven.git
at d81d36c267 [MNG-8155] Improve not built error message
This branch includes the following new commits:
new d81d36c267 [MNG-8155] Improve not built error message
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(maven) 01/01: [MNG-8155] Improve not built error message
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch elharo-patch-1
in repository https://gitbox.apache.org/repos/asf/maven.git
commit d81d36c267b0fa209cada93a94c6e09c4e4726e7
Author: Elliotte Rusty Harold <el...@users.noreply.github.com>
AuthorDate: Sun Jul 7 12:42:12 2024 +0000
[MNG-8155] Improve not built error message
Part of MNG-8155
---
.../main/java/org/apache/maven/cli/event/ExecutionEventLogger.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java b/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
index a8085253a8..265274700a 100644
--- a/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
+++ b/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
@@ -295,9 +295,9 @@ public class ExecutionEventLogger extends AbstractExecutionListener {
init();
logger.info("");
infoLine('-');
-
- infoMain("Skipping " + event.getProject().getName());
- logger.info("This project has been banned from the build due to previous failures.");
+ String name = event.getProject().getName();
+ infoMain("Skipping " + name);
+ logger.info(name + " was not built because a module it depends on failed to build.");
infoLine('-');
}