From 91e1374df1e9988a080ad29761fafdd72ae0f338 Mon Sep 17 00:00:00 2001 From: Alexis Chatillon <46956548+Sancretor@users.noreply.github.com> Date: Tue, 10 Mar 2020 12:28:23 +0000 Subject: [PATCH 1/2] Fix #124 : compatibility with Java 8 --- .travis.yml | 5 +++++ pom.xml | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0f31bd88..a0e599da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,7 @@ addons: jdk: + - openjdk8 - openjdk11 env: @@ -51,6 +52,8 @@ cache: directories: - '$HOME/.m2/repository' - '$HOME/.sonar/cache' + - 'node' + - 'node_modules' notifications: email: false @@ -65,3 +68,5 @@ deploy: on: branch: master condition: $sonarqube = none + tags: true + jdk: 'openjdk11' diff --git a/pom.xml b/pom.xml index 6d15f0e2..25178227 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ fr.cnes.sonar cnesreport - 3.2.1 + 3.2.2 sonar-plugin SonarQube CNES Report @@ -29,9 +29,9 @@ UTF-8 - 11 - 11 - 11 + 1.8 + 1.8 + 1.8 4.12 0.8.4 6.5 From 1eaafd87ed0910fbcf1fd5193599cc5f75059fe3 Mon Sep 17 00:00:00 2001 From: Alexis Chatillon <46956548+Sancretor@users.noreply.github.com> Date: Tue, 10 Mar 2020 19:23:42 +0100 Subject: [PATCH 2/2] Update Java dependency & compatibility matrix --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 52b884dd..d579b4d5 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ This tool can be used in standalone as a JAR executable (with the command line) #### Installation ##### Standalone mode -**cnesreport** does not need any installation. It is a portable Java application you can copy and run according to following examples. The only requirement is an **up-to-date JRE (>=1.11)**. +**cnesreport** does not need any installation. It is a portable Java application you can copy and run according to following examples. The only requirement is an **up-to-date JRE (>=1.8)**. ##### Plugin mode (Since 2.2.0) - Copy the sonar-cnes-report.jar in the plugin folder of sonarqube (On linux path should be like `/opt/sonarqube/plugins`) @@ -119,7 +119,7 @@ For legacy versions, check the wiki page here : [Note on legacy versions](https: 2.2.0
Standalone + Plugin
3.0.x
Standalone + Plugin
3.1.0
Standalone + Plugin
- 3.2.0
Standalone + Plugin
+ 3.2.x
Standalone + Plugin
7.9.x (LTS)