Test error building sonar-java

Hello @Zurich0
I never found Windows to be a developer friendly OS, it is always difficult to understand all of what is happening there. Going to Linux was a good idea.

Although I am a bit sad that you did not find much value in code smells and Security Hotspots :slight_smile: and I believe that in the long run you may regret your choice:

  • code smells are raising maintainability issues. Each issue represents a small detail individually, but if you don’t tackle them as they come, over time your code will accumulate them and any evolution or maintenance there will be a real pain.
  • hotspots represent security sensible pieces of code, having a look at each of them is our recommendation but of course your choice.

And of course having tight quality profiles and quality gates is neither difficult nor too time consuming for teams that adopt the Clean As You Code approach. If you’d like to know more about it, I would recommend for you to read:

If I failed to convince you about those rules, let me add here that you do not need to modify the analyzer implementation to disable rules from your analysis.
You just need your own quality profile that would not embed those rules.
Of course I know SonarQube UI quite well, but it took me less than 5mn to create a Quality Profile with Java rules for vulnerabilities and bugs rules only.
In order to do so, you may:

  1. Read the quality profiles documentation page
  2. Start a new quality Profile from scratch, if you copy or extend the Sonar Way one you will have all of its rules.
  3. Use the compare functionality to realign your Quality Profile with the Sonar Way on Vulnerability and Bug rules if you want to
  4. Once you have your Quality Profile ready, you can set it as default for all of your projects.

Best.
Sylvain