Hi,
I’m updating a custom language plugin for SonarQube to be compatible with SonarQube 2026.1 LTA and Community.
I have a test for the custom plugin which uses
SensorContextTester classwhich was available for theSQ 2025 LTAundersonar-plugin-api-implartifact and imported usingorg.sonar.api.batch.sensor.internal.SensorContextTesterclass path.TestInputFileBuilder classwas available for theSQ 2025 LTAundersonar-plugin-api-implartifact and imported usingorg.sonar.api.batch.sensor.internal.SensorContextTesterclass path.
Have these been relocated somewhere else or removed ? If removed, have you something else to replace them ?
Should I add a specific dependency in pom.xml to be able to find them? Actually I’m using only
<dependency>
<groupId>org.sonarsource.api.plugin</groupId>
<artifactId>sonar-plugin-api</artifactId>
<version>13.4.2.4284</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.sonarsource.api.plugin</groupId>
<artifactId>sonar-plugin-api-test-fixtures</artifactId>
<version>13.4.2.4284</version>
<scope>test</scope>
</dependency>
and removed the dependency on sonar-plugin-api-impl.
Thanks in advance for your feedback.
Best regards
Monika