Hi,
while updating our SonarQube plugin tests, we noticed that classes such as DefaultInputFile, TestInputFileBuilder, and SensorContextTester have moved from:
org.sonarsource.sonarqube:sonar-plugin-api-impl
to Scanner Engine artifacts such as:
org.sonarsource.scanner.engine:plugin-api-scanner-impl
org.sonarsource.scanner.engine:sensor-test-fixtures
The Scanner Engine artifacts appear to have their own versioning.
For the Plugin API, there is a documented compatibility relationship with SonarQube:
- [Sonar Plugin API - Compatibility]( GitHub - SonarSource/sonar-plugin-api: API to develop plugins for SonarQube (Server, Cloud) and SonarQube for IDE · GitHub )
However, we could not find a similar compatibility matrix in
- [Sonar Scanner Java Library]( GitHub - SonarSource/sonar-scanner-java-library: Common Java library used by many SonarScanners · GitHub )
So what is the recommended way to select compatible versions of:
- SonarQube
- Plugin API
- Scanner Engine
Is there an official version mapping between the Plugin API and Scanner Engine?
Thanks!
Günter