slachiewicz commented on issue #14000: URL: https://github.com/apache/maven/issues/14000#issuecomment-6881330859
Reproduced in two plugins. The Maven 4 ports of maven-antrun-plugin and maven-checkstyle-plugin, built against 4.0.0-rc-7, call `MojoExecution.getConfiguration()`. On a build of `master` (6145dae0de) their invoker ITs fail with `java.lang.NoSuchMethodError: 'java.util.Optional org.apache.maven.api.MojoExecution.getConfiguration()'`, and nothing else: antrun 28 of 29 fail (the one pass expects a failing build), checkstyle 10 of 12. On 4.0.0-rc-7 antrun passes 29 of 29 and checkstyle 11 of 12. The antrun port compiled against 4.2.0-SNAPSHOT, with `plugin()` and without `getConfiguration()`, passes all 29 on `master`. -- 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]
