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:
Antonin Delpeuch 2021-11-07 11:43:12 +01:00 committed by GitHub
parent 97c1b07784
commit ea9abff4d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 30 additions and 27 deletions

View File

@ -11,7 +11,7 @@ jobs:
server_tests:
strategy:
matrix:
java: [ 8, 14 ]
java: [ 11, 14 ]
runs-on: ubuntu-latest
@ -118,11 +118,11 @@ jobs:
restore-keys: |
${{ runner.os }}-maven-
- name: Set up Java 8
- name: Set up Java 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 8
java-version: 11
- name: Build OpenRefine
run: ./refine build

View File

@ -44,11 +44,11 @@ jobs:
restore-keys: |
${{ runner.os }}-maven-
- name: Set up Java 8
- name: Set up Java 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 8
java-version: 11
- name: Build OpenRefine
run: ./refine build
@ -132,11 +132,11 @@ jobs:
restore-keys: |
${{ runner.os }}-maven-
- name: Set up Java 8
- name: Set up Java 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 8
java-version: 11
- name: Install genisoimage and jq
run: sudo apt-get install genisoimage jq

View File

@ -49,7 +49,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jmh.version>1.33</jmh.version>
<javac.target>1.8</javac.target>
<javac.target>${java.minversion}</javac.target>
<uberjar.name>openrefine-benchmarks</uberjar.name>
</properties>

View File

@ -47,8 +47,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>${java.minversion}</source>
<target>${java.minversion}</target>
<encoding>UTF-8</encoding>
<showDeprecation>false</showDeprecation>
</configuration>

View File

@ -47,8 +47,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>${java.minversion}</source>
<target>${java.minversion}</target>
<encoding>UTF-8</encoding>
<showDeprecation>false</showDeprecation>
</configuration>

View File

@ -49,8 +49,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>${java.minversion}</source>
<target>${java.minversion}</target>
<encoding>UTF-8</encoding>
<showDeprecation>false</showDeprecation>
</configuration>

View File

@ -47,8 +47,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>${java.minversion}</source>
<target>${java.minversion}</target>
<encoding>UTF-8</encoding>
<showDeprecation>false</showDeprecation>
</configuration>

View File

@ -49,8 +49,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>${java.minversion}</source>
<target>${java.minversion}</target>
<encoding>UTF-8</encoding>
<showDeprecation>false</showDeprecation>
</configuration>

View File

@ -48,8 +48,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>${java.minversion}</source>
<target>${java.minversion}</target>
<encoding>UTF-8</encoding>
<showDeprecation>false</showDeprecation>
</configuration>

View File

@ -57,8 +57,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>${java.minversion}</source>
<target>${java.minversion}</target>
<encoding>UTF-8</encoding>
<showDeprecation>false</showDeprecation>
</configuration>

View File

@ -213,7 +213,8 @@
</classPath>
<jre>
<path>${windows.package.jre.path}</path>
<minVersion>1.8.0</minVersion>
<minVersion>${java.minversion}</minVersion>
<maxVersion>${java.maxversion}</maxVersion>
<bundledJreAsFallback>true</bundledJreAsFallback>
<initialHeapSize>512</initialHeapSize>
<maxHeapSize>2048</maxHeapSize>

View File

@ -54,6 +54,8 @@
<properties>
<java.minversion>11</java.minversion>
<java.maxversion>15</java.maxversion>
<jee.path>/</jee.path>
<jee.port>3333</jee.port>
<refine.data>/tmp/refine</refine.data>
@ -99,8 +101,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>${java.minversion}</source>
<target>${java.minversion}</target>
<encoding>UTF-8</encoding>
<showDeprecation>false</showDeprecation>
</configuration>

View File

@ -57,8 +57,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>${java.minversion}</source>
<target>${java.minversion}</target>
<encoding>UTF-8</encoding>
<showDeprecation>false</showDeprecation>
</configuration>