Skip to content

Commit

Permalink
toString for mojos
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Nov 11, 2024
1 parent af58904 commit 5ba9cae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions eo-maven-plugin/src/main/java/org/eolang/maven/SafeMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,11 @@ abstract class SafeMojo extends AbstractMojo {
@SuppressWarnings("PMD.ImmutableField")
private boolean skip;

@Override
public String toString() {
return this.getClass().getSimpleName();
}

/**
* Execute it.
* @throws MojoFailureException If fails during build
Expand Down

0 comments on commit 5ba9cae

Please sign in to comment.