|
MavenEnhancePlugin handles some exceptions by just logging an error instead of throwing a MojoExecutionException or a MojoFailureException.
This means that the build succeeds even if the plugin can't enhance some or all classes. This is undesireable, especially for automated builds.
The plugin should provide a new configuration parameter (e.g.: boolean failOnError) that allows the user to request that the build should fail if the plugin encounters an error.
|