summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2017-11-23 12:23:36 +0100
committerMarek Gradzki <mgradzki@cisco.com>2017-11-23 11:47:30 +0000
commitd35855e483a77e7f4a0692e7c779b0e5295e7b75 (patch)
tree77c8f5003fcae0334bf2bd692bcff275f4309697
parent2f6d7fe55d00c24b9df80e9a2d4dccd90e4b15f2 (diff)
Set sonar-maven-plugin version to 3.3.0.603
If Maven encounters a plugin with no version declaration, it will use the LATEST version, which might not be compatible with Sonar server (fd.io uses 5.6 currently). Therefore it is recommended to lock down version of Sonar plugin: http://blog.sonatype.com/2008/04/maven-209-released/ The patch should fix honeycomb and hc2vpp merge job failures caused by using incompatible sonar-maven-plugin version. Change-Id: Ib95aa4a131e1b8b7d85a531bba8e5a9f7c95cf2d Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit d0af6a93dd0c02a84960a557a7cfcf98088aa5d2)
-rw-r--r--common/honeycomb-parent/pom.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/common/honeycomb-parent/pom.xml b/common/honeycomb-parent/pom.xml
index 1cdc37395..98f65ae09 100644
--- a/common/honeycomb-parent/pom.xml
+++ b/common/honeycomb-parent/pom.xml
@@ -323,6 +323,17 @@
</execution>
</executions>
</plugin>
+ <!-- Sonar -->
+ <!-- If Maven encounters a plugin with no version declaration, it will use the LATEST version.
+ which might not be compatible with Sonar server (fd.io uses 5.6 currently).
+ Therefore it is recommended to lock down version of Sonar plugin:
+ http://blog.sonatype.com/2008/04/maven-209-released/
+ -->
+ <plugin>
+ <groupId>org.sonarsource.scanner.maven</groupId>
+ <artifactId>sonar-maven-plugin</artifactId>
+ <version>3.3.0.603</version>
+ </plugin>
<!-- jacoco test coverage for sonar -->
<plugin>
<groupId>org.jacoco</groupId>