SonarLint has no support for quality profiles.
But I have found out the stuff removed from sonar-scanner-api is part of sonar-batch and sonar-home. So I can use them to implement the feature in the maven plugin.
The idea is to run the analysis every build f.e. on Jenkins but publish only one time per day (or changed the way how the stats are generated? There was a statement to run the analysis in the same period to get correct stats years ago).
The normal analysis without publishing should break the build, if a quality gate is injured to prevent getting bad artifacts into our repository.
The idea is to run the analysis every build f.e. on Jenkins but publish only one time per day (or changed the way how the stats are generated? There was a statement to run the analysis in the same period to get correct stats years ago).This statement is no more valid. You can publish many time per day (but publishing for each commit may be costly depending on your workflow / project size).
The normal analysis without publishing should break the build, if a quality gate is injured to prevent getting bad artifacts into our repository.How do you manage accepted issues (or false positive)? We found that breaking unconditionally the build was not convenient. We prefer to try catching 90% of new issues using SonarLint with a best effort approach, then have a safety net using pull request analysis before merging in the master where SonarQube publish analysis is executed.