This repository was archived by the owner on Jul 19, 2025. It is now read-only.
Bump sonar-java 6.0 #4
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The upgrade to of the
sonar-javaplugin to version 6.0.0.20538 demands certain modifications.Below there is an example of one of those tests that fail when upgrading sonar-java, 90% of the failed tests, failed with the same error
Unable to find rule with key squid:S1602I have tried updating the
sonarlint-cli, sonarlint-client-apiand thesonarlint-coreto check if could be a solution to solve thesquid` error, but it wasn't the case.Looking for explanation I found several links related to this issue, seems like somebody else has also suffered it
Looking at the

sonar-javarepo comparing releases5.14.0.18788...6.0.2.20657we can see the change that makes our tests fail