summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorSeshu Kumar M <seshu.kumar.m@huawei.com>2020-08-07 05:37:05 +0000
committerGerrit Code Review <gerrit@onap.org>2020-08-07 05:37:05 +0000
commit8d22b943bd389d81fe9ea10ee4c1f2d27326910a (patch)
treec209de35fdb6e9ae8e168e48caa60edf6ba04e96 /pom.xml
parentcdc8d1abcb4aceeb44eacd5df3a5a0ba817c3318 (diff)
parent258be88cb2a098dc526ec294b44b2859a6a845b7 (diff)
Merge "changes for java 11 upgradation Issue-ID: SO-3082"
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index 542d8698db..6b7fb81296 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,6 +42,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<sonar.language>java</sonar.language>
+ <java.version>11</java.version>
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
<sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
@@ -329,7 +330,7 @@
<version>4.20</version>
<configuration>
<buildId>mso-${project.version}</buildId>
- <source>1.8</source>
+ <source>${java.version}</source>
</configuration>
</plugin>
<plugin>
@@ -1004,8 +1005,8 @@
<version>3.8.0</version>
<configuration>
<forceJavacCompilerUse>true</forceJavacCompilerUse>
- <source>1.8</source>
- <target>1.8</target>
+ <source>${java.version}</source>
+ <target>${java.version}</target>
</configuration>
</plugin>
</plugins>