在我部署了声纳4.5.6之后,我安装了一些插件:checkstyle 2.4,pmd 2.5并找到bug 3.3。但是,当我使用声纳(jdk 1.7)时,它会报告错误:
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.0.1:sonar (default-cli) on project bacs:
Execution default-cli of goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.0.1:sonar failed:
An API incompatibility was encountered while executing org.sonarsource.scanner.maven:sonar-maven-plugin:3.0.1:sonar: java.lang.NoSuchMethodError: org.sonar.plugins.java.api.JavaResourceLocator.classpath()Ljava/util/Collection;