Open brian428 opened 9 years ago
In version 2.6, the tooling API added another withArguments() method to BuildLauncher (actually the superclass, ConfigurableLauncher) which seems to interfere with the plugin's call to this method. The GradleMojo's call to withArguments() (happens here: https://github.com/if6was9/gradle-maven-plugin/blob/master/src/main/java/org/fortasoft/maven/plugin/gradle/GradleMojo.java#L240) results in a NoSuchMethodError if you use any tooling API version above 2.5.
So what can be done to avoid this?
In version 2.6, the tooling API added another withArguments() method to BuildLauncher (actually the superclass, ConfigurableLauncher) which seems to interfere with the plugin's call to this method. The GradleMojo's call to withArguments() (happens here: https://github.com/if6was9/gradle-maven-plugin/blob/master/src/main/java/org/fortasoft/maven/plugin/gradle/GradleMojo.java#L240) results in a NoSuchMethodError if you use any tooling API version above 2.5.