aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src/main
diff options
context:
space:
mode:
authorcolin-mueller-sonarsource <colin.mueller@sonarsource.com>2021-04-30 10:02:23 +0200
committersonartech <sonartech@sonarsource.com>2021-04-30 20:03:23 +0000
commit40409b47b0c9ecdc7b4c198e0b82580ded8c22b3 (patch)
tree6e2a962637231f5a0622933aa1cdc165096d1a11 /sonar-scanner-engine/src/main
parent5d696f37e87020647b717fc3e1bf0ed814f4bd6f (diff)
downloadsonarqube-40409b47b0c9ecdc7b4c198e0b82580ded8c22b3.tar.gz
sonarqube-40409b47b0c9ecdc7b4c198e0b82580ded8c22b3.zip
SONAR-14783 Link Java 11 Upgrade Notes in Warning
Diffstat (limited to 'sonar-scanner-engine/src/main')
-rw-r--r--sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/GlobalContainer.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/GlobalContainer.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/GlobalContainer.java
index 74f450538d8..e8aee0067b9 100644
--- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/GlobalContainer.java
+++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/GlobalContainer.java
@@ -88,7 +88,8 @@ public class GlobalContainer extends ComponentContainer {
String.class.getMethod("isBlank");
} catch (NoSuchMethodException e) {
LOG.warn("SonarScanner will require Java 11 to run, starting in SonarQube 9.x");
- analysisWarnings.addUnique("SonarScanner will require Java 11 to run, starting in SonarQube 9.x. Please upgrade the version of Java that executes the scanner.");
+ analysisWarnings.addUnique("SonarScanner will require Java 11 to run, starting in SonarQube 9.x. Please upgrade the version of Java that executes the scanner and " +
+ "refer to <a href=\"/documentation/analysis/analysis-with-java-11/\" target=\"_blank\">the documentation</a> if needed.");
}
}