[
https://issues.apache.org/jira/browse/SLING-9880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bertrand Delacretaz updated SLING-9880:
---------------------------------------
Description:
As per [https://sonarcloud.io/documentation/appendices/end-of-support/] the
SonarQube scanner should now run with Java 11.
Our builds are using the first jdk in the module's list [1], which is often
{{jdk_1.8_latest}}.
Some builds pass but recently onboarded projects fail, like
https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-adapter-annotations-it/job/master/8/console
which says "The version of Java (1.8.0_252) you have used to run this analysis
is deprecated and we will stop accepting it soon" and "To make sure everyone is
aware of this limitation we fail the analysis of new projects". The "new
projects" bit apparently explains while existing projects pass.
[1]
https://github.com/apache/sling-tooling-jenkins/blob/master/vars/slingOsgiBundleBuild.groovy
was:
As per [https://sonarcloud.io/documentation/appendices/end-of-support/] the
SonarQube scanner should now run with Java 11.
Our builds are using the first jdk in the list which is currently [1]
{{jdk_1.8_latest}}.
Some builds pass but recently onboarded projects fail, like
https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-adapter-annotations-it/job/master/8/console
which says "The version of Java (1.8.0_252) you have used to run this analysis
is deprecated and we will stop accepting it soon" and "To make sure everyone is
aware of this limitation we fail the analysis of new projects". The "new
projects" bit apparently explains while existing projects pass.
[1]
https://github.com/apache/sling-tooling-jenkins/blob/master/vars/slingOsgiBundleBuild.groovy
> Run SonarQube analysis with JDK 11
> ----------------------------------
>
> Key: SLING-9880
> URL: https://issues.apache.org/jira/browse/SLING-9880
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Reporter: Bertrand Delacretaz
> Priority: Major
>
> As per [https://sonarcloud.io/documentation/appendices/end-of-support/] the
> SonarQube scanner should now run with Java 11.
> Our builds are using the first jdk in the module's list [1], which is often
> {{jdk_1.8_latest}}.
> Some builds pass but recently onboarded projects fail, like
> https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-adapter-annotations-it/job/master/8/console
> which says "The version of Java (1.8.0_252) you have used to run this
> analysis is deprecated and we will stop accepting it soon" and "To make sure
> everyone is aware of this limitation we fail the analysis of new projects".
> The "new projects" bit apparently explains while existing projects pass.
> [1]
> https://github.com/apache/sling-tooling-jenkins/blob/master/vars/slingOsgiBundleBuild.groovy
--
This message was sent by Atlassian Jira
(v8.3.4#803005)