Remove unhelpful links that don't describe failure reasons from output (#1545)

This commit is contained in:
Elliotte Rusty Harold 2024-06-03 19:15:36 +00:00 committed by GitHub
parent e7ca0684cc
commit 1af5368b23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -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) {