Closed FARHANE closed 1 year ago
@Parameter(property = "skip", defaultValue = "false")
Boolean skip = false;
@Override
public void execute() throws MojoExecutionException, MojoFailureException {
if(Boolean.TRUE.equals(skip)) {
getLog().info("Skipping openapi-diff execution as per configuration");
return;
}
...
@FARHANE Thanks for reporting this!
It looks like you already have half the pull request ready. 😉
actually there is 4 configuration parameters
failOnChanged
failOnIncompatible
newSpec
andoldSpec
. we need new parameter to skip the maven goal.