Use MojoFailureException and MojoExecutionException correctly