diff --git a/commons/pom.xml b/commons/pom.xml
index 33c62042..a4d203d0 100644
--- a/commons/pom.xml
+++ b/commons/pom.xml
@@ -28,25 +28,25 @@
commons
-
+
+
+ 4.13.0
+ 2.17.0
+
-
- com.fasterxml.staxmate
- staxmate
- 2.4.0
-
+
org.antlr
antlr4-runtime
- 4.13.0
+ ${antlr.version}
com.fasterxml.jackson.core
jackson-databind
- 2.13.4
+ ${jackson.version}
diff --git a/commons/src/main/java/fr/insideapp/sonarqube/apple/commons/issues/ReportIssueRecorder.java b/commons/src/main/java/fr/insideapp/sonarqube/apple/commons/issues/ReportIssueRecorder.java
index f01e3ba6..121dfeb2 100644
--- a/commons/src/main/java/fr/insideapp/sonarqube/apple/commons/issues/ReportIssueRecorder.java
+++ b/commons/src/main/java/fr/insideapp/sonarqube/apple/commons/issues/ReportIssueRecorder.java
@@ -24,7 +24,6 @@
import org.sonar.api.batch.sensor.SensorContext;
import org.sonar.api.batch.sensor.issue.NewIssue;
import org.sonar.api.batch.sensor.issue.NewIssueLocation;
-import org.sonar.api.batch.sensor.issue.internal.DefaultIssueLocation;
import org.sonar.api.rule.RuleKey;
import org.sonar.api.scanner.ScannerSide;
import org.sonar.api.utils.log.Logger;
@@ -51,7 +50,7 @@ public void recordIssues(List issues, String repository, SensorCont
.newIssue()
.forRule(RuleKey.of(repository, issue.getRuleId()));
// The location of the issue to be record
- NewIssueLocation sonarIssueLocation = new DefaultIssueLocation();
+ NewIssueLocation sonarIssueLocation = sonarIssue.newLocation();
// Adding message if any
String message = issue.getMessage();
diff --git a/pom.xml b/pom.xml
index 69d861e7..35b06e95 100644
--- a/pom.xml
+++ b/pom.xml
@@ -88,33 +88,42 @@
contact@insideapp.fr
true
- 1.9
UTF-8
- 7.9
- src/main/java,src/main/js
+
+ 9.9
+
+
+ 10.5.0.2090
+ 9.9.1.69595
+ 2.7.0.1482
+ 1.24.0.633
+ 2.15.1
+ 3.14.0
+ 33.1.0-jre
+ 2.8.2
+ 5.8.2
+ 3.25.3
+ 5.11.0
- 2.6
- 3.12.0
- 1.24.0.965
- 1.23
- 2.7.1.392
- 17.0
- 2.8.0
+
+ 11
- 4.11
- 3.22.0
- 4.4.0
+
+ 17
+ 17
+ 17
+ src/main/java,src/main/js
file:**/src/main/java/**/generated/**/*.java
- org.sonarsource.sonarqube
+ org.sonarsource.api.plugin
sonar-plugin-api
- ${sonar.apiVersion}
+ ${sonar.api.version}
provided
@@ -125,17 +134,17 @@
org.sonarsource.analyzer-commons
sonar-analyzer-test-commons
- ${analyzer-commons.version}
+ ${sonar-analyzer-commons.version}
org.sonarsource.analyzer-commons
sonar-analyzer-commons
- ${analyzer-commons.version}
+ ${sonar-analyzer-commons.version}
org.sonarsource.analyzer-commons
sonar-xml-parsing
- ${analyzer-commons.version}
+ ${sonar-analyzer-commons.version}
@@ -155,15 +164,21 @@
+
+ org.sonarsource.sonarqube
+ sonar-plugin-api-impl
+ ${sonar.version}
+ test
+
org.sonarsource.sonarqube
sonar-testing-harness
- ${sonar.apiVersion}
+ ${sonar.version}
test
- junit
- junit
+ org.junit.jupiter
+ junit-jupiter-api
${junit.version}
test
@@ -182,7 +197,7 @@
commons-io
commons-io
- ${apache-commons.version}
+ ${commons.io.version}
@@ -206,7 +221,7 @@
org.jacoco
jacoco-maven-plugin
- 0.8.5
+ 0.8.8
**/generated/**
diff --git a/sonar-apple-plugin/pom.xml b/sonar-apple-plugin/pom.xml
index 81a371e8..4973994b 100644
--- a/sonar-apple-plugin/pom.xml
+++ b/sonar-apple-plugin/pom.xml
@@ -32,6 +32,12 @@
sonar-plugin
+
+
+ 1.23.0.740
+ 3.1.0
+
+
@@ -55,18 +61,20 @@
org.sonarsource.sonar-packaging-maven-plugin
sonar-packaging-maven-plugin
- 1.21.0.505
+ ${sonar-maven-plugin.version}
true
sonar-apple
fr.insideapp.sonarqube.apple.ApplePlugin
Swift/Objective-C Code Quality and Security
+ ${pluginApiMinVersion}
+ ${jre.min.version}
maven-antrun-plugin
- 3.0.0
+ ${maven-antrun.version}
deploy