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:
|
||||
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
|
||||
|
8
.github/workflows/snapshot_release.yml
vendored
8
.github/workflows/snapshot_release.yml
vendored
@ -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
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
6
pom.xml
6
pom.xml
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user