java 11 upgrade and sonar scan fixes
Recompile java source code using jdk11
Run in ojdk11 JRE
tomcat container upgrade
alpine base image
Issue-ID: DCAEGEN2-2298
Change-Id: Ic4bf2626e5805508589cafe52b7c4e91d7ae3580
Signed-off-by: Kotagiri, Ramprasad (rp5662) <rp5662@att.com>
diff --git a/pom.xml b/pom.xml
index 4c779e8..180e0dc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,6 +21,8 @@
<properties>
<enforcer.skip>true</enforcer.skip>
<sonar.exclusions>**/external/**</sonar.exclusions>
+ <maven.compiler.source>11</maven.compiler.source>
+ <maven.compiler.target>11</maven.compiler.target>
</properties>
<modules>
@@ -48,6 +50,14 @@
<generateBackupPoms>false</generateBackupPoms>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.8.0</version>
+ <configuration>
+ <release>11</release>
+ </configuration>
+ </plugin>
</plugins>
</build>