Drop support for Java 8. (#4279)
* Drop support for Java 8. I have attempted to update all the relevant configuration parameters but might have missed some, let's see! Closes #4278. * Fix typo in pom.xml
This commit is contained in:
parent
97c1b07784
commit
ea9abff4d4
6
.github/workflows/pull_request.yml
vendored
6
.github/workflows/pull_request.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
|||||||
server_tests:
|
server_tests:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
java: [ 8, 14 ]
|
java: [ 11, 14 ]
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@ -118,11 +118,11 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-maven-
|
${{ runner.os }}-maven-
|
||||||
|
|
||||||
- name: Set up Java 8
|
- name: Set up Java 11
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
java-version: 8
|
java-version: 11
|
||||||
|
|
||||||
- name: Build OpenRefine
|
- name: Build OpenRefine
|
||||||
run: ./refine build
|
run: ./refine build
|
||||||
|
8
.github/workflows/snapshot_release.yml
vendored
8
.github/workflows/snapshot_release.yml
vendored
@ -44,11 +44,11 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-maven-
|
${{ runner.os }}-maven-
|
||||||
|
|
||||||
- name: Set up Java 8
|
- name: Set up Java 11
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
java-version: 8
|
java-version: 11
|
||||||
|
|
||||||
- name: Build OpenRefine
|
- name: Build OpenRefine
|
||||||
run: ./refine build
|
run: ./refine build
|
||||||
@ -132,11 +132,11 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-maven-
|
${{ runner.os }}-maven-
|
||||||
|
|
||||||
- name: Set up Java 8
|
- name: Set up Java 11
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
java-version: 8
|
java-version: 11
|
||||||
|
|
||||||
- name: Install genisoimage and jq
|
- name: Install genisoimage and jq
|
||||||
run: sudo apt-get install genisoimage jq
|
run: sudo apt-get install genisoimage jq
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<jmh.version>1.33</jmh.version>
|
<jmh.version>1.33</jmh.version>
|
||||||
<javac.target>1.8</javac.target>
|
<javac.target>${java.minversion}</javac.target>
|
||||||
<uberjar.name>openrefine-benchmarks</uberjar.name>
|
<uberjar.name>openrefine-benchmarks</uberjar.name>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
@ -47,8 +47,8 @@
|
|||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.8.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>1.8</source>
|
<source>${java.minversion}</source>
|
||||||
<target>1.8</target>
|
<target>${java.minversion}</target>
|
||||||
<encoding>UTF-8</encoding>
|
<encoding>UTF-8</encoding>
|
||||||
<showDeprecation>false</showDeprecation>
|
<showDeprecation>false</showDeprecation>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -47,8 +47,8 @@
|
|||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.8.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>1.8</source>
|
<source>${java.minversion}</source>
|
||||||
<target>1.8</target>
|
<target>${java.minversion}</target>
|
||||||
<encoding>UTF-8</encoding>
|
<encoding>UTF-8</encoding>
|
||||||
<showDeprecation>false</showDeprecation>
|
<showDeprecation>false</showDeprecation>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -49,8 +49,8 @@
|
|||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.8.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>1.8</source>
|
<source>${java.minversion}</source>
|
||||||
<target>1.8</target>
|
<target>${java.minversion}</target>
|
||||||
<encoding>UTF-8</encoding>
|
<encoding>UTF-8</encoding>
|
||||||
<showDeprecation>false</showDeprecation>
|
<showDeprecation>false</showDeprecation>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -47,8 +47,8 @@
|
|||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.8.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>1.8</source>
|
<source>${java.minversion}</source>
|
||||||
<target>1.8</target>
|
<target>${java.minversion}</target>
|
||||||
<encoding>UTF-8</encoding>
|
<encoding>UTF-8</encoding>
|
||||||
<showDeprecation>false</showDeprecation>
|
<showDeprecation>false</showDeprecation>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -49,8 +49,8 @@
|
|||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.8.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>1.8</source>
|
<source>${java.minversion}</source>
|
||||||
<target>1.8</target>
|
<target>${java.minversion}</target>
|
||||||
<encoding>UTF-8</encoding>
|
<encoding>UTF-8</encoding>
|
||||||
<showDeprecation>false</showDeprecation>
|
<showDeprecation>false</showDeprecation>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -48,8 +48,8 @@
|
|||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.1</version>
|
<version>3.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>1.8</source>
|
<source>${java.minversion}</source>
|
||||||
<target>1.8</target>
|
<target>${java.minversion}</target>
|
||||||
<encoding>UTF-8</encoding>
|
<encoding>UTF-8</encoding>
|
||||||
<showDeprecation>false</showDeprecation>
|
<showDeprecation>false</showDeprecation>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -57,8 +57,8 @@
|
|||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.8.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>1.8</source>
|
<source>${java.minversion}</source>
|
||||||
<target>1.8</target>
|
<target>${java.minversion}</target>
|
||||||
<encoding>UTF-8</encoding>
|
<encoding>UTF-8</encoding>
|
||||||
<showDeprecation>false</showDeprecation>
|
<showDeprecation>false</showDeprecation>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -213,7 +213,8 @@
|
|||||||
</classPath>
|
</classPath>
|
||||||
<jre>
|
<jre>
|
||||||
<path>${windows.package.jre.path}</path>
|
<path>${windows.package.jre.path}</path>
|
||||||
<minVersion>1.8.0</minVersion>
|
<minVersion>${java.minversion}</minVersion>
|
||||||
|
<maxVersion>${java.maxversion}</maxVersion>
|
||||||
<bundledJreAsFallback>true</bundledJreAsFallback>
|
<bundledJreAsFallback>true</bundledJreAsFallback>
|
||||||
<initialHeapSize>512</initialHeapSize>
|
<initialHeapSize>512</initialHeapSize>
|
||||||
<maxHeapSize>2048</maxHeapSize>
|
<maxHeapSize>2048</maxHeapSize>
|
||||||
|
6
pom.xml
6
pom.xml
@ -54,6 +54,8 @@
|
|||||||
|
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
<java.minversion>11</java.minversion>
|
||||||
|
<java.maxversion>15</java.maxversion>
|
||||||
<jee.path>/</jee.path>
|
<jee.path>/</jee.path>
|
||||||
<jee.port>3333</jee.port>
|
<jee.port>3333</jee.port>
|
||||||
<refine.data>/tmp/refine</refine.data>
|
<refine.data>/tmp/refine</refine.data>
|
||||||
@ -99,8 +101,8 @@
|
|||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.8.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>1.8</source>
|
<source>${java.minversion}</source>
|
||||||
<target>1.8</target>
|
<target>${java.minversion}</target>
|
||||||
<encoding>UTF-8</encoding>
|
<encoding>UTF-8</encoding>
|
||||||
<showDeprecation>false</showDeprecation>
|
<showDeprecation>false</showDeprecation>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -57,8 +57,8 @@
|
|||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.8.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>1.8</source>
|
<source>${java.minversion}</source>
|
||||||
<target>1.8</target>
|
<target>${java.minversion}</target>
|
||||||
<encoding>UTF-8</encoding>
|
<encoding>UTF-8</encoding>
|
||||||
<showDeprecation>false</showDeprecation>
|
<showDeprecation>false</showDeprecation>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
Loading…
Reference in New Issue
Block a user