summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorHarish Venkata Kajur <vk250x@att.com>2021-02-23 22:55:16 -0500
committerHarish Venkata Kajur <vk250x@att.com>2021-02-23 23:35:22 -0500
commit3fb4c441eeb21e9800bb3f6c33164d8232749245 (patch)
treec53b8033ea3f558a7a4fdf35d8e0e084c08fb3f3 /pom.xml
parent39885f7866165946b02dd36ee1f9ce93eecdda5f (diff)
Update base docker image to use java 11
Also update maven plugin to target java 11 Issue-ID: AAI-3272 Change-Id: Iac09b0d91022cf7fdfc932e67753e164ee6463cf Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml19
1 files changed, 18 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 09805bc..1288934 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,7 +11,7 @@
<groupId>org.onap.aai</groupId>
<artifactId>sparky-be</artifactId>
- <version>2.0.2-SNAPSHOT</version>
+ <version>2.0.3-SNAPSHOT</version>
<packaging>pom</packaging>
<name>aai-sparky-be</name>
@@ -38,6 +38,11 @@
<sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
+ <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
+ <maven-compiler-plugin.source>11</maven-compiler-plugin.source>
+ <maven-compiler-plugin.target>11</maven-compiler-plugin.target>
+ <maven-compiler-plugin.test.source>11</maven-compiler-plugin.test.source>
+ <maven-compiler-plugin.test.target>11</maven-compiler-plugin.test.target>
</properties>
<dependencyManagement>
@@ -54,6 +59,18 @@
<build>
<pluginManagement>
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>${maven-compiler-plugin.version}</version>
+ <inherited>true</inherited>
+ <configuration>
+ <source>${maven-compiler-plugin.source}</source>
+ <target>${maven-compiler-plugin.target}</target>
+ <testSource>${maven-compiler-plugin.test.source}</testSource>
+ <testTarget>${maven-compiler-plugin.test.target}</testTarget>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>