You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2021/12/06 12:38:00 UTC
[jira] [Commented] (MNG-7351) Improve javadoc for MojoExecutionException and MojoFailureException
[ https://issues.apache.org/jira/browse/MNG-7351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17453994#comment-17453994 ]
Michael Osipov commented on MNG-7351:
-------------------------------------
PRs are welcome.
> 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
> Priority: Major
>
> 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)