Java 8 for Sonar, PMD, Findbugs and Checkstyle in IntelliJ

I have upgraded to Java 8 and when I try to run the sonarRunner task to get the reports I get the following message.

Execution completed for task ': sonarRunner'.

org.sonar.api.utils.XmlParserException: org.sonar.api.utils.SonarException: Unsupported Java version for PMD: 1.8

Is Java 8 supported in PMD? If so, how can I solve this problem?

Many thanks


source to share

1 answer

Since version 5.1.0 they had Java 8 support: Changelists contributors are listed here .

I'm not an avid Sonar user, but from what I could find there was some limitation of Sonar support for Java 8. It looks like you need a newer version of SonarQube and version 2.2.0 or higher of the PMD plugin: read here



All Articles