This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/master by this push: new 1af5368b23 Remove unhelpful links that don't describe failure reasons from output (#1545) 1af5368b23 is described below commit 1af5368b23af4a23e1c42cd4f4a74297a81b018d Author: Elliotte Rusty Harold <elh...@users.noreply.github.com> AuthorDate: Mon Jun 3 19:15:36 2024 +0000 Remove unhelpful links that don't describe failure reasons from output (#1545) --- .../main/java/org/apache/maven/exception/DefaultExceptionHandler.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java b/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java index f1d0afd393..b6c4e8cca5 100644 --- a/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java +++ b/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java @@ -32,7 +32,6 @@ import org.apache.maven.model.building.ModelProblem; import org.apache.maven.model.building.ModelProblemUtils; import org.apache.maven.plugin.AbstractMojoExecutionException; import org.apache.maven.plugin.MojoExecutionException; -import org.apache.maven.plugin.MojoFailureException; import org.apache.maven.plugin.PluginContainerException; import org.apache.maven.plugin.PluginExecutionException; import org.apache.maven.project.ProjectBuildingException; @@ -171,8 +170,6 @@ public class DefaultExceptionHandler implements ExceptionHandler { reference = ConnectException.class.getSimpleName(); } } - } else if (exception instanceof MojoFailureException) { - reference = MojoFailureException.class.getSimpleName(); } else if (exception instanceof LinkageError) { reference = LinkageError.class.getSimpleName(); } else if (exception instanceof PluginExecutionException) {