We have written a custom language for SonarQube and under 7.2 we could supply the language we wanted used via a maven argument. sonar.language. Unfortunately this was deprecated in 7.7 and can no longer be used.
Our problem - we have two versions of the language (version 3 and version 4) - but we do not have a way to select this any more via a Maven execution. We do not want our users having to log into SonarQube and selecting the correct language or quality profile. We want to be able to send a Maven argument or setting like the old sonar.language.
In 7.9 we have now moved the 2 languages to be one language with 2 quality profiles - but only 1 can be default and this is causing issues for users.
Any suggestions on how to solve for this? We are already making use of Rule Categories for filtering rules and do not want to have to extend this another dimension.
Any suggestions? Other than editing the Maven SonarScanner?