Compatibility update to SonarQube 8.9 LTS. There have been breaking API changes in the Sonar Java plugin that AEM Rules use as a depenency. This release removes reliance on no longer available methods, preventing runtime failures.
The plugin ‘java’ is in version 6.5.1 whereas the plugin ‘aemrules’ requires a least a version 6.15.
While I have no doubt you listed the dependency version correctly, we no longer publish updates of bundled analyzers to the Marketplace. So the job processing this version, can’t see version 6.15.
I guess what needs to happen here is that you remove the explicit dependency. Since Java analysis is an out-of-the-box feature now, no one should be running (or expecting your plugin to run) without it.
Does this mean I should just remove <requirePlugins>java:6.15</requirePlugins> from the plugin’s pom.xml? Or are you suggesting the removal of the Java Plugin as a Maven dependency? The latter probably won’t work, because we have rules that use classes from the org.sonar.plugins.java.api.tree package. Hope we’re not doing something unorthodox
Sure, I’ll get that removed and prepare another release. I think that should be cleaner than touching up existing versions in the SCM. There’ve been a few commits since then, polishing the CI scripts.