Bump opennlp-tools to 2.3.0 and raise min Java version to 17
OpenNLP 2.3.0 requires Java 17
Resolves #102
Change-Id: I3fc5add37864bf6d54f132d83e60e7a094bbf6cc
diff --git a/.github/workflows/ci_test.yml b/.github/workflows/ci_test.yml
index d1fe630..f61ea8d 100644
--- a/.github/workflows/ci_test.yml
+++ b/.github/workflows/ci_test.yml
@@ -9,11 +9,11 @@
- name: Checkout
uses: actions/checkout@v2
- - name: Set up JDK 11
uses: actions/setup-java@v2
+ - name: Set up JDK 17
with:
distribution: 'zulu'
- java-version: '11'
+ java-version: '17'
- name: Build and install
env:
diff --git a/pom.xml b/pom.xml
index a2b9026..66de8d1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -105,8 +105,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
- <source>1.8</source>
- <target>1.8</target>
+ <release>17</release>
<showDeprecation>true</showDeprecation>
<annotationProcessorPaths>
<path>
@@ -258,7 +257,7 @@
<dependency>
<groupId>org.apache.opennlp</groupId>
<artifactId>opennlp-tools</artifactId>
- <version>2.2.0</version>
+ <version>2.3.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>