diff --git a/.github/workflows/sonarscan.yml b/.github/workflows/sonarscan.yml
index 7eef49190..abe4b9796 100644
--- a/.github/workflows/sonarscan.yml
+++ b/.github/workflows/sonarscan.yml
@@ -33,7 +33,7 @@ jobs:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- - name: Build and analyze
+ - name: Build and analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
diff --git a/server/wfprev-api/pom.xml b/server/wfprev-api/pom.xml
index c2aab5b47..8868fb60a 100644
--- a/server/wfprev-api/pom.xml
+++ b/server/wfprev-api/pom.xml
@@ -199,6 +199,11 @@
hibernate-core
6.6.0.Final
+
+ org.sonarsource.scanner.maven
+ sonar-maven-plugin
+ 4.0.0.4121
+
@@ -265,37 +270,37 @@
-
- coverage
-
-
-
- org.jacoco
- jacoco-maven-plugin
- 0.8.12
-
-
- prepare-agent
-
- prepare-agent
-
-
-
- report
-
- report
-
-
-
- XML
-
-
-
-
-
-
-
-
+
+ coverage
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.8.12
+
+
+ prepare-agent
+
+ prepare-agent
+
+
+
+ report
+
+ report
+
+
+
+ XML
+
+
+
+
+
+
+
+