Update sonar configuration
[oparent.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index c85ecaa..7003823 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -37,6 +37,8 @@
     <!-- sitePath may be overridden in the inheriting POM if desired -->
     <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
     <maven.compiler.release>11</maven.compiler.release>
+    <sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
+
     <!-- 
        In the java 8 version of oparent there were two variables defined for 1.8 source and target. These are no longer
        applicable in Java 11 but you may be referencing them in your child poms so review and update as appropriate.
         <plugin>
           <groupId>org.sonarsource.scanner.maven</groupId>
           <artifactId>sonar-maven-plugin</artifactId>
-          <version>3.2</version>
+          <version>${sonar.scanner.version}</version>
         </plugin>
       </plugins>
     </pluginManagement>