mirror of
https://github.com/rasilon/ujetl.git
synced 2026-04-11 10:29:29 +00:00
Update to Java 11
This commit is contained in:
parent
f3538a09f9
commit
f963d8bdcf
3 changed files with 9 additions and 8 deletions
|
|
@ -1,14 +1,16 @@
|
||||||
FROM centos:centos7 as builder
|
FROM centos:centos8 as builder
|
||||||
RUN yum -y install epel-release java-11-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 alternatives --set javac /usr/lib/jvm/java-11-openjdk-11.0.7.10-1.el8_1.x86_64/bin/javac
|
||||||
|
RUN alternatives --set java /usr/lib/jvm/java-11-openjdk-11.0.7.10-1.el8_1.x86_64/bin/java
|
||||||
RUN git clone --single-branch --branch dev https://github.com/rasilon/ujetl.git
|
RUN git clone --single-branch --branch dev https://github.com/rasilon/ujetl.git
|
||||||
RUN cd ujetl && mvn -e package
|
RUN cd ujetl && JAVA_HOME=/usr/lib/jvm/java-11 mvn -e package
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
FROM openjdk:8-alpine as runner
|
FROM openjdk:11-alpine as runner
|
||||||
LABEL maintainer="Derry Hamilton <derryh@rasilon.net>"
|
LABEL maintainer="Derry Hamilton <derryh@rasilon.net>"
|
||||||
|
|
||||||
RUN apk update && apk upgrade && apk add bash
|
RUN apk update && apk upgrade && apk add bash
|
||||||
|
|
|
||||||
7
pom.xml
7
pom.xml
|
|
@ -6,7 +6,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
|
||||||
<groupId>com.rasilon.ujetl</groupId>
|
<groupId>com.rasilon.ujetl</groupId>
|
||||||
<artifactId>CopyingApp</artifactId>
|
<artifactId>CopyingApp</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<version>2.2.4</version>
|
<version>2.3.0</version>
|
||||||
<name>uJETL</name>
|
<name>uJETL</name>
|
||||||
<url>https://github.com/rasilon/ujetl</url>
|
<url>https://github.com/rasilon/ujetl</url>
|
||||||
<properties>
|
<properties>
|
||||||
|
|
@ -83,10 +83,9 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>2.3.2</version>
|
<version>3.8.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>11</source>
|
<release>11</release>
|
||||||
<target>11</target>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
Summary: Java app to facilitate moving data between databases.
|
Summary: Java app to facilitate moving data between databases.
|
||||||
Name: uJETL
|
Name: uJETL
|
||||||
Version: 2.2.4
|
Version: 2.3.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Group: Applications/Database
|
Group: Applications/Database
|
||||||
License: All rights reserved.
|
License: All rights reserved.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue