diff --git a/.github/workflows/java-continuous-integration.yml b/.github/workflows/java-continuous-integration.yml
index 1d729934..d998615c 100644
--- a/.github/workflows/java-continuous-integration.yml
+++ b/.github/workflows/java-continuous-integration.yml
@@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- java: [ '8', '11' ]
+ java: [ '11' ]
name: Java ${{ matrix.Java }} CI
steps:
- name: Check out repository code
@@ -43,7 +43,7 @@ jobs:
run: mvn -B clean package
- name: Test cnes-report
env:
- SONARQUBE_VERSION: 8.9-community
+ SONARQUBE_VERSION: 9.9-community
run: |
version=$(cat pom.xml | grep ".*" | head -1 |awk -F'[><]' '{print $3}');
echo "Starting docker";
diff --git a/README.md b/README.md
index 655c0448..e3d29e12 100644
--- a/README.md
+++ b/README.md
@@ -16,6 +16,7 @@ This tool can be used in standalone as a JAR executable (with the command line)
- Run an analysis with sonar-scanner, maven, gradle, msbuild, etc.
- Execute cnesreport:
- In standalone, thanks to command line
+ - Give your jar read permissions for others (chmod o+r `myfile.jar`)
- In plugin mode, copy jar in `/opt/sonarqube/extensions/plugins`, restart sonarqube, then click on "More" > "CNES Report".
#### Installation
@@ -23,7 +24,7 @@ This tool can be used in standalone as a JAR executable (with the command line)
**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/extensions/plugins`)
+- Copy the sonar-cnes-report.jar with read rights for others in the plugin folder of sonarqube (On linux path should be like `/opt/sonarqube/extensions/plugins`)
- Restart sonarqube (On linux: `sudo service sonar restart`)
#### Get help
@@ -71,7 +72,7 @@ java -jar sonar-cnes-report.jar -p projectId
If you have installed cnes-report in your sonarqube: open web interface, click on "CNES Report" then choose a project.
##### Advanced usage (standalone)
-If you are using a secured instance of SonarQube, you can provide a SonarQube authentication token thanks to `-t` option and specify the url of the SonarQube instance with `-s`. The internal template for the text report can be replaced by the one given through `-r` option.
+If you are using a secured instance of SonarQube, you can provide a SonarQube user token (https://docs.sonarqube.org/latest/user-guide/user-account/generating-and-using-tokens/) thanks to `-t` option and specify the url of the SonarQube instance with `-s`. The internal template for the text report can be replaced by the one given through `-r` option.
````
java -jar sonar-cnes-report.jar -t xuixg5hub345xbefu -s https://example.org:9000 -p projectId -r ./template.docx
````
@@ -115,30 +116,43 @@ For legacy versions, check the wiki page here : [Note on legacy versions](https: