Skip to content

Commit d9abad0

Browse files
Fix compatibility issue with SQ 6.7 (#70)
1 parent a13bf57 commit d9abad0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

its/it-tests/src/test/java/com/sonar/scanner/api/it/ScannerApiTestSuite.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ public class ScannerApiTestSuite {
3737
@ClassRule
3838
public static final Orchestrator ORCHESTRATOR = Orchestrator.builderEnv()
3939
.setSonarVersion(getSystemPropertyOrFail(SONAR_RUNTIME_VERSION))
40-
.addPlugin(MavenLocation.of("org.sonarsource.javascript", "sonar-javascript-plugin", "LATEST_RELEASE"))
40+
// The scanner api should still be compatible with previous LTS 6.7, and not the 7.9
41+
// at the time of writing, so the installed plugins should be compatible with
42+
// both 6.7 and 8.x. The latest releases of analysers drop the compatibility with
43+
// 6.7, that's why versions are hardcoded here.
44+
.addPlugin(MavenLocation.of("org.sonarsource.javascript", "sonar-javascript-plugin", "5.2.1.7778"))
4145
.build();
4246

4347
private static String getSystemPropertyOrFail(String orchestratorPropertiesSource) {

0 commit comments

Comments
 (0)