Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/javadoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand All @@ -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:
Expand Down
15 changes: 9 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>eu.europa.ted.eforms</groupId>
<artifactId>eforms-core-java</artifactId>
<version>1.10.0-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>

<name>eForms Core Library</name>
<description>API and tools for eForms applications.</description>
Expand Down Expand Up @@ -37,9 +37,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<!-- Java compiler -->
<java.version>11</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<java.version>21</java.version>
<maven.compiler.release>${java.version}</maven.compiler.release>

<!-- Versions - Third-party libraries -->
<version.antlr4>4.13.1</version.antlr4>
Expand All @@ -61,10 +60,10 @@

<!-- Versions - Plugins -->
<version.build-helper.plugin>3.3.0</version.build-helper.plugin>
<version.compiler.plugin>3.10.1</version.compiler.plugin>
<version.compiler.plugin>3.13.0</version.compiler.plugin>
<version.gpg.plugin>1.5</version.gpg.plugin>
<version.install.plugin>2.5.2</version.install.plugin>
<version.jacoco.plugin>0.8.10</version.jacoco.plugin>
<version.jacoco.plugin>0.8.12</version.jacoco.plugin>
<version.japicmp.plugin>0.20.0</version.japicmp.plugin>
<version.javadoc.plugin>3.4.0</version.javadoc.plugin>
<version.source.plugin>3.2.1</version.source.plugin>
Expand Down Expand Up @@ -356,6 +355,10 @@
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${version.compiler.plugin}</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${version.surefire.plugin}</version>
Expand Down
Loading