jens-rommel commented on code in PR #42:
URL:
https://github.com/apache/maven-toolchains-plugin/pull/42#discussion_r2105907664
##########
src/main/java/org/apache/maven/plugins/toolchain/ToolchainMojo.java:
##########
@@ -70,6 +70,13 @@ public class ToolchainMojo extends AbstractMojo {
@Parameter(required = true)
private ToolchainsRequirement toolchains;
+ /**
+ * Flag to fail the build if toolchain requirements not met.
+ * @since 3.0.1
+ */
+ @Parameter( defaultValue = "true" )
+ private boolean fail;
Review Comment:
I'd suggest to use an enum (fail, warn) instead of boolean, as one can
easily imagine other ways to handle non-matching toolchains.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]