Sonarqube Eclipse plugin not working in incremental analysis mode

720 views Asked by At

I have installed sonareclipse plugin 3.4 in eclipse Juno version. I have set sonar.analysis.mode=incremental in preview analysis properties. But when I analyze the project in eclipse it shows all the issues and not just new issues.

SonarQube server version is 5.1.

Can you please help me here?

1

There are 1 answers

2
Fabrice - SonarSource Team On BEST ANSWER

By default, analysis in Eclipse is happening in "incremental" mode, so you don't need to specify the sonar.analysis.mode property.

Also, the Eclipse plugin always report every issue found in your code, may it be a new one (= you've just introduced it) or an existing one. As described in the documentation, the new ones are highlighted in yellow so that you can't miss them.

There's no way to hide existing issues.