Hi Today - Maven 3.8.6 both exception generate the same message: BUILD FAILURE
We have some inconsistencies in javadocs descriptions [1]. We also have the wrong description on guide page [2]. There was a discussion about it, some on slack, some on GitHub [3] and connected issue MNG-7351 [4] As I remember we want one exception for Mojo in Maven 4. So it will be good to make a decision about it and fix mentioned place to be consistent. [1] https://maven.apache.org/ref/3.8.6/apidocs/org/apache/maven/plugin/Mojo.html#execute-- [2] https://maven.apache.org/guides/plugin/guide-java-plugin-development.html [3] https://github.com/apache/maven/pull/632 [4] https://issues.apache.org/jira/browse/MNG-7351 -- Sławomir Jaranowski