diff options
author | Harish Venkata Kajur <vk250x@att.com> | 2021-02-23 22:55:16 -0500 |
---|---|---|
committer | Harish Venkata Kajur <vk250x@att.com> | 2021-02-23 23:35:22 -0500 |
commit | 3fb4c441eeb21e9800bb3f6c33164d8232749245 (patch) | |
tree | c53b8033ea3f558a7a4fdf35d8e0e084c08fb3f3 /pom.xml | |
parent | 39885f7866165946b02dd36ee1f9ce93eecdda5f (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.xml | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -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> |