Skip to content

Commit

Permalink
Remove unhelpful links that don't describe failure reasons from output (
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo authored Jun 3, 2024
1 parent e7ca068 commit 1af5368
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
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;
Expand Down Expand Up @@ -171,8 +170,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) {
Expand Down

0 comments on commit 1af5368

Please sign in to comment.