From 00f838a9e59232e61dd9604ff08f06777896bb34 Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Fri, 31 May 2024 07:17:10 -0400 Subject: [PATCH] Remove unhelpful links that don't describe failure reasons from output --- .../org/apache/maven/exception/DefaultExceptionHandler.java | 2 -- 1 file changed, 2 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 f1d0afd39347..1425fee19a4f 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 @@ -171,8 +171,6 @@ private String getReference(Throwable exception) { 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) {