Hello Team
Our builds started failing because an incompatibility issue, and it looks like the offending plugin (AEM version 1.2) is coming from the server.
The problem is that the plugin requires java 11, unfortunately we are not there just yet.
Looking at the plugin release notes, the latest version (1.2) removes compatibility with java 8.
Please provide your input on whether this plugin is backward compatible with Java 8.
What will be the workaround to get this issue fixed.
This is the error :
[ ERROR ] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project : The plugin [aemrules] does not support Java 1.8.0_265 : com/cognifide/aemrules/AemRulesSonarPlugin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 → [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException : Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project The plugin [aemrules] does not support Java 1.8.0_265
Thanks