checkstyle / sonar-checkstyle

Support on Checkstyle in SonarQube. Officially transfered from https://github.com/SonarQubeCommunity/sonar-checkstyle
GNU Lesser General Public License v3.0
174 stars 70 forks source link

Make "sonar-checktyle" compatible with SonarQube 10.4 "DownloadOnlyWhenRequired" feature #499

Closed agigleux closed 8 months ago

agigleux commented 9 months ago

Hello,

I'm Alex, Product Manager at Sonar.

SonarQube 10.4 will come with a feature to only download plugins when they are required. When there are files corresponding to the language handled by the plugin, the plugin will be downloaded, otherwise, the plugin won't be downloaded. This is great to save network bandwidth and speed up the bootstrap of the scans. This feature will be disabled by default to let the time to plugin maintainers to adjust their plugin. It will be activated by default with SonarQube 10.5

For plugins that have a dependency on a base analyzer provided by default with SonarQube, an additional property is required to be added to the MANIFEST of the plugin. By doing so you will avoid being in this situation:

In order to avoid that you need to:

muhlba91 commented 8 months ago

thank you for this notice! we'll try to include it in the next release to make sure we stay compatible with this new property.