From b941c81bdea3b6a1003d6ce1bb763e1e82c86d1b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 29 Dec 2025 11:02:44 +0000 Subject: [PATCH 1/2] Initial plan From 9465a56a8fb9839d0c8182a1ddcb3ece934017ab Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 29 Dec 2025 11:05:48 +0000 Subject: [PATCH 2/2] Migrate project to JDK 17 Update Maven compiler source and target to Java 17, update enforcer plugin requirements, update GitHub Actions workflow to use JDK 17, update Javadoc links, and update README with prerequisites Co-authored-by: rbri <2544132+rbri@users.noreply.github.com> --- .github/workflows/codeql.yml | 6 ++++++ README.md | 4 +++- pom.xml | 8 ++++---- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index a06adbb..647ed3e 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -55,6 +55,12 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3 diff --git a/README.md b/README.md index 145c7f0..2d49560 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,9 @@ See deployment for notes on how to deploy the project on a live system. ### Prerequisites -You simply only need a local maven installation. +You need: +* Java 17 or later +* A local Maven installation ### Building diff --git a/pom.xml b/pom.xml index 0db863c..b93caed 100644 --- a/pom.xml +++ b/pom.xml @@ -17,8 +17,8 @@ UTF-8 yyyy-MM-dd HH:mm - 8 - 8 + 17 + 17 5.13.4 @@ -64,7 +64,7 @@ 3.6.3 - 1.8.0 + 17 @@ -277,7 +277,7 @@ --allow-script-in-comments - http://docs.oracle.com/javase/8/docs/api/ + https://docs.oracle.com/en/java/javase/17/docs/api/ org.htmlunit.cssparser.parser.javacc