Merge "Move to JDK 13"
authorSébastien Determe <sebastien.determe@intl.att.com>
Thu, 7 Nov 2019 10:03:38 +0000 (10:03 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 7 Nov 2019 10:03:38 +0000 (10:03 +0000)
1  2 
pom.xml

diff --combined pom.xml
+++ b/pom.xml
                <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
                <clamp.project.version>${project.version}</clamp.project.version>
                <clamp.build.timestamp>${maven.build.timestamp}</clamp.build.timestamp>
-               <maven.compiler.source>1.8</maven.compiler.source>
-               <maven.compiler.target>1.8</maven.compiler.target>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  
                <eelf.core.version>1.0.0</eelf.core.version>
                <camel.version>2.24.0</camel.version>
-               <springboot.version>2.1.5.RELEASE</springboot.version>
+               <springboot.version>2.2.0.RELEASE</springboot.version>
  
                <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
                <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
                <docker.skip.tag>true</docker.skip.tag>
                <skip.staging.artifacts>false</skip.staging.artifacts>
                <python.http.proxy.param />
-               <tomcat.version>9.0.20</tomcat.version>
+               <tomcat.version>9.0.27</tomcat.version>
                <ui.react.src>ui-react</ui.react.src>
                <npm.publish.url>https://nexus3.onap.org/repository/npm.release/</npm.publish.url>
        </properties>
                        <groupId>com.att.eelf</groupId>
                        <artifactId>eelf-core</artifactId>
                        <version>${eelf.core.version}</version>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>org.powermock</groupId>
+                                       <artifactId>powermock-module-junit4</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.powermock</groupId>
+                                       <artifactId>powermock-api-mockito</artifactId>
+                               </exclusion>
+                       </exclusions>
                </dependency>
                <dependency>
                        <groupId>org.codehaus.janino</groupId>
                <dependency>
                        <groupId>org.mockito</groupId>
                        <artifactId>mockito-core</artifactId>
-                       <version>1.10.19</version>
+                       <version>2.28.2</version>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.powermock</groupId>
+                       <artifactId>powermock-api-mockito2</artifactId>
+                       <version>2.0.4</version>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.powermock</groupId>
+                       <artifactId>powermock-module-junit4</artifactId>
+                       <version>2.0.4</version>
                        <scope>test</scope>
                </dependency>
        </dependencies>
                                        </execution>
                                </executions>
                        </plugin>
 +                      <plugin>
 +                              <groupId>org.codehaus.groovy.maven</groupId>
 +                              <artifactId>gmaven-plugin</artifactId>
 +                              <version>1.0</version>
 +                              <executions>
 +                                      <execution>
 +                                              <phase>validate</phase>
 +                                              <goals>
 +                                                      <goal>execute</goal>
 +                                              </goals>
 +                                              <configuration>
 +                                                      <source>${project.basedir}/src/main/script/SelectNpmRepo.groovy</source>
 +                                              </configuration>
 +                                      </execution>
 +                              </executions>
 +                      </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-jar-plugin</artifactId>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-surefire-plugin</artifactId>
-                               <version>2.22.1</version>
+                               <version>2.22.2</version>
                                <configuration>
                                        <forkCount>1C</forkCount>
                                        <reuseForks>true</reuseForks>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-failsafe-plugin</artifactId>
-                               <version>2.22.1</version>
+                               <version>2.22.2</version>
                                <executions>
                                        <execution>
                                                <id>integration-tests</id>
                        <plugin>
                                <groupId>io.fabric8</groupId>
                                <artifactId>docker-maven-plugin</artifactId>
-                               <version>0.27.2</version>
+                               <version>0.31.0</version>
                                <dependencies>
                                        <dependency>
                                                <groupId>org.apache.httpcomponents</groupId>
                                                                <ports>
                                                                        <port>${docker.mariadb.port.host}:3306</port>
                                                                </ports>
+                                                               <network>
+                                                                       <mode>bridge</mode>
+                                                               </network>
                                                        </run>
                                                </image>
                                                <image>
                                                                        <shell>./start_http_cache.sh ${python.http.proxy.param}
                                                                                --python_proxyaddress=localhost:${docker.http-cache.port.host}</shell>
                                                                </cmd>
+                                                               <network>
+                                                                       <mode>bridge</mode>
+                                                               </network>
                                                        </run>
                                                </image>
                                                <image>
                        <plugin>
                                <groupId>org.jacoco</groupId>
                                <artifactId>jacoco-maven-plugin</artifactId>
-                               <version>0.8.2</version>
+                               <version>0.8.5</version>
                                <configuration>
                                        <dumpOnExit>true</dumpOnExit>
                                        <append>true</append>
                                                </goals>
                                                <phase>generate-sources</phase>
                                                <configuration>
 -                                                      <nodeVersion>v12.10.0</nodeVersion>
 -                                                      <npmVersion>6.10.3</npmVersion>
 +                                              <nodeVersion>v12.13.0</nodeVersion>
 +                                              <npmVersion>6.13.0</npmVersion>
                                                </configuration>
                                        </execution>
                                        <execution>
                                        </execution>
                                </executions>
                        </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-compiler-plugin</artifactId>
+                               <version>3.8.1</version>
+                               <configuration>
+                                       <source>13</source>
+                                       <target>13</target>
+                               </configuration>
+                       </plugin>
                </plugins>
        </build>
  </project>