Upgrade to Java 11 compiler and openjdk:11 base image.
Upgrade version of jacoco plugin.
Drop forkCount=0 config on surefire plugin.
Change-Id: I2355f950c1689cfda01a0f21783cb0a0025de1f9
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
RIC Dashboard Release Notes
===========================
-Version 1.2.0, 9 July 2019
---------------------------
+Version 1.2.0, 10 July 2019
+---------------------------
* Split URL properties into prefix/suffix parts
* Add jacoco plugin to back-end for code coverage
+* Compile with Java version 11, run with image openjdk:11
Version 1.0.5, 5 July 2019
--------------------------
<packaging>pom</packaging>
<version>1.2.0-SNAPSHOT</version>
<properties>
- <java.version>8</java.version>
+ <java.version>11</java.version>
<!-- Properties for the license-maven-plugin in child POMs -->
<lmp.organization.name>AT&T Intellectual Property and Nokia</lmp.organization.name>
<lmp.project.name>O-RAN-SC</lmp.project.name>
<target>${java.version}</target>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <!-- For Java 9 and later -->
- <forkCount>0</forkCount>
- </configuration>
- </plugin>
<!-- Always generate a source jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<skip>true</skip>
</configuration>
</plugin>
+ <!-- support sonar in multi-module project -->
+ <plugin>
+ <groupId>org.sonarsource.scanner.maven</groupId>
+ <artifactId>sonar-maven-plugin</artifactId>
+ <version>3.6.0.1398</version>
+ </plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
- <version>0.7.9</version>
+ <version>0.8.4</version>
<executions>
<execution>
<id>default-prepare-agent</id>
<!-- Avoid maven artifact name here -->
<name>ric-dashboard:${project.version}</name>
<build>
- <from>openjdk:8-jre-slim</from>
+ <from>openjdk:11-jre-slim</from>
<tags>
<!-- Add tag with build number -->
<tag>${project.version}</tag>