You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/12/06 10:35:00 UTC

[jira] [Created] (MNG-7351) Improve javadoc for MojoExecutionException and MojoFailureException

Konrad Windszus created MNG-7351:
------------------------------------

             Summary: Improve javadoc for MojoExecutionException and MojoFailureException
                 Key: MNG-7351
                 URL: https://issues.apache.org/jira/browse/MNG-7351
             Project: Maven
          Issue Type: Improvement
          Components: Plugin API
    Affects Versions: 3.8.4
            Reporter: Konrad Windszus


From the javadoc the semantical difference is not clear, but [https://books.sonatype.com/mvnref-book/reference/writing-plugins-sect-custom-plugin.html#writing-plugins-sect-failure] gives further hints, which should be also reflected in the Javadoc of both [https://github.com/apache/maven/blob/master/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoExecutionException.java] and [https://github.com/apache/maven/blob/master/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java.] Compare also with https://stackoverflow.com/questions/1033154/when-to-use-mojoexecutionexception-vs-mojofailureexception-in-maven



--
This message was sent by Atlassian Jira
(v8.20.1#820001)