TLDR: How do i pick the “right” community-version of smth for a commercial versioned sonarqube server? (e.g. the version of sonar-ws to use)
I would like to choose the version of sonar-ws following a pattern.
If i understand it correctly, the open source versioning-scheme is following a date-pattern while the commercial versioning-scheme is using the year and then an increasing number for the n-th release about bi-monthly
Consider me using a locally installed SQ
Enterprise Edition
v2025.1 (102418)
If i were to pick one of the following versions available in mvncentral for org.sonarsource.sonarqube:sonar-ws … which one would i pick for example for
v2025.1
v2025.2
I only see the following versions (which are - i presume - versioned after the community date-versioning-scheme)
i am using sonar-ws (configured in maven/gradle as a dependency) in a client to interact with the web_api of a sonarqube server instance of a specific (not most updated) version.
i presume the serverside api is changing and the implementation in sonar-ws is trying to keep up
because of that, i am under the assumption, that i cannot expect to use the mostest freshest version of sonar-ws to query an older api version of an older not-up-to-date server instance.
i think, it would be most clarifying if i “could just look up” what is the latest compatible version i can use with Sonarqube Server version xy
It isn’t really meant to work this way, so there’s no lookup for this. Use the SonarQube Community Build version released just before your SonarQube Server target version. As a rule, SQCB is released at the beginning of the month and SQS at the end.