diff --git a/pom.xml b/pom.xml
index 1bc1b6332b6..0be11a951ea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -287,17 +287,29 @@
-
- org.apache.maven.plugins
- maven-surefire-plugin
-
-
-
de.thetaphi
forbiddenapis
3.1
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+ ${version.jar.plugin}
+
+
+ false
+
+
+ _
+
+
+
+
@@ -336,6 +348,13 @@
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ alphabetical
+
+
diff --git a/sonar-java-plugin/pom.xml b/sonar-java-plugin/pom.xml
index 50275e422b4..a11afc7357f 100644
--- a/sonar-java-plugin/pom.xml
+++ b/sonar-java-plugin/pom.xml
@@ -126,6 +126,11 @@
true
9.9
11
+
+
+ ${project.version}
+
+