we changed sonar scanner execution from maven plugin:
<plugin> <groupId>org.sonarsource.scanner.maven</groupId> <artifactId>sonar-maven-plugin</artifactId> <version>126.96.36.1994</version> </plugin>
Container and plugin runs make use of our custom quality-gates and rules, but differ in results. In details:
- ‘Remove usage of generic wildcard type. [java:S1452]’
- ’ Make the enclosing method “static” or remove this set. [java:2696]
are not found by the container run. There are also some other differences. Both runs were executed with the same properties.
Sonarlint intelliJ plugin has the same results as the maven plugin run. Both runs analyze all files (other smells where found by both analyzers).
Does anybody else face that inconsistencies?