Attila Doroszlai created RATIS-1311:
---------------------------------------
Summary: Upgrade Java for Sonar check
Key: RATIS-1311
URL: https://issues.apache.org/jira/browse/RATIS-1311
Project: Ratis
Issue Type: Task
Components: build
Reporter: Attila Doroszlai
Assignee: Attila Doroszlai
Java 11 needs to be used for running the Sonar check:
{noformat:title=https://github.com/apache/incubator-ratis/runs/1835076880#step:3:5222}
Error: Failed to execute goal
org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar (default-cli)
on project ratis:
Error:
Error: The version of Java (1.8.0_282) you have used to run this analysis is
deprecated and we stopped accepting it. Please update to at least Java 11.
Error: Temporarily you can set the property
'sonar.scanner.force-deprecated-java-version-grace-period' to 'true' to
continue using Java 1.8.0_282
Error: This will only work until Mon Feb 15 09:00:00 UTC 2021, afterwards all
scans will fail.
Error: You can find more information here:
https://sonarcloud.io/documentation/upcoming/
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)