Migrate to Java 11

This commit is contained in:
Derry Hamilton 2020-07-02 09:00:21 +01:00
parent af62d6cf96
commit f3538a09f9
2 changed files with 7 additions and 7 deletions

View file

@ -1,9 +1,9 @@
FROM centos:centos7 as builder FROM centos:centos7 as builder
RUN yum -y install epel-release java-1.8.0-openjdk-devel RUN yum -y install epel-release java-11-openjdk-devel
RUN yum -y groupinstall 'Development Tools' RUN yum -y groupinstall 'Development Tools'
RUN yum -y install git maven RUN yum -y install git maven
RUN git clone https://github.com/rasilon/ujetl.git RUN git clone --single-branch --branch dev https://github.com/rasilon/ujetl.git
RUN cd ujetl && mvn package RUN cd ujetl && mvn -e package

View file

@ -66,12 +66,12 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
<dependency> <dependency>
<groupId>org.apache.logging.log4j</groupId> <groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId> <artifactId>log4j-api</artifactId>
<version>2.13.2</version> <version>2.13.3</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.logging.log4j</groupId> <groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId> <artifactId>log4j-core</artifactId>
<version>2.13.2</version> <version>2.13.3</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.postgresql</groupId> <groupId>org.postgresql</groupId>
@ -85,8 +85,8 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version> <version>2.3.2</version>
<configuration> <configuration>
<source>1.8</source> <source>11</source>
<target>1.8</target> <target>11</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>