diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 9f960de..e4a7223 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
- java-version: '11'
- distribution: 'adopt'
+ java-version: '21'
+ distribution: 'temurin'
- name: Build and run unit tests
run: mvn --batch-mode clean install
diff --git a/.github/workflows/javadoc.yml b/.github/workflows/javadoc.yml
index 5c308ac..2fc5843 100644
--- a/.github/workflows/javadoc.yml
+++ b/.github/workflows/javadoc.yml
@@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
- java-version: '11'
- distribution: 'adopt'
+ java-version: '21'
+ distribution: 'temurin'
- name: Check javadoc
run: mvn --batch-mode clean test-compile javadoc:javadoc javadoc:test-javadoc
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index bc153f5..f7fabb3 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -27,8 +27,8 @@ jobs:
- name: Set up Java for publishing to Maven Central Repository
uses: actions/setup-java@v4
with:
- java-version: '11'
- distribution: 'adopt'
+ java-version: '21'
+ distribution: 'temurin'
server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
diff --git a/README.md b/README.md
index 0396b9f..51dd8f9 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ This library provides a set of classes that can be used to solve some common "pr
## Using the eForms Core Library
-The eForms Core library requires Java 11 or later.
+The eForms Core library requires Java 21 or later.
It is available as a Maven package on Maven Central and can be used by adding the following to the project's `pom.xml`.
@@ -34,7 +34,7 @@ Replace `${eforms-core.version}` with the latest version available, or define th
Requirements:
-* Java 11 or higher
+* Java 21 or higher
* Maven 3.8, other versions probably also work
Execute the following on the root folder of this project:
diff --git a/pom.xml b/pom.xml
index a26fc65..8c30e25 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
eu.europa.ted.eforms
eforms-core-java
- 1.10.0-SNAPSHOT
+ 2.0.0-SNAPSHOT
eForms Core Library
API and tools for eForms applications.
@@ -37,9 +37,8 @@
UTF-8
- 11
- ${java.version}
- ${java.version}
+ 21
+ ${java.version}
4.13.1
@@ -61,10 +60,10 @@
3.3.0
- 3.10.1
+ 3.13.0
1.5
2.5.2
- 0.8.10
+ 0.8.12
0.20.0
3.4.0
3.2.1
@@ -356,6 +355,10 @@
+
+ maven-compiler-plugin
+ ${version.compiler.plugin}
+
maven-surefire-plugin
${version.surefire.plugin}