aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorarun chapagain <arun.chapagain@huawei.com>2020-08-06 15:44:12 +0530
committerarun chapagain <arun.chapagain@huawei.com>2020-08-06 17:49:23 +0530
commit258be88cb2a098dc526ec294b44b2859a6a845b7 (patch)
treed81ad01faf496ca12b8d31e0932d289282684972 /pom.xml
parentf19e5c3f6b3ef48267c74a4f973089e742e55c6c (diff)
changes for java 11 upgradation
Issue-ID: SO-3082 Signed-off-by: arun chapagain <arun.chapagain@huawei.com> Change-Id: Icb14f1a29d06d828307f0acc23d4414fecbbfaa3
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 68559c99c4..fbb5beeabc 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>