From 51e5e21e2c669686c00555a3e982bd1409aa9e22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francesco=20Chicchiricc=C3=B2?= Date: Mon, 26 Feb 2024 12:25:41 +0100 Subject: [PATCH] Requiring Maven >= 3.9.5 to build (#115) --- .github/workflows/ci.yml | 5 +++++ .github/workflows/pr.yml | 5 +++++ java/pom.xml | 9 ++++++--- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1aebae54..adb8b126 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,11 @@ jobs: distribution: 'zulu' java-version: 11 + - name: Setup Maven + uses: stCarolas/setup-maven@v5 + with: + maven-version: 3.9.6 + - name: Cache local Maven repository uses: actions/cache@v4 with: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 03683c01..cdd64e64 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -37,6 +37,11 @@ jobs: distribution: 'zulu' java-version: 11 + - name: Setup Maven + uses: stCarolas/setup-maven@v5 + with: + maven-version: 3.9.6 + - name: Cache local Maven repository uses: actions/cache@v4 with: diff --git a/java/pom.xml b/java/pom.xml index aaf16605..3821d058 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -297,14 +297,17 @@ 3.4.1 - enforce-maven + default-cli enforce + + ${targetJdk} + - 3.0 + 3.9.5 @@ -315,7 +318,7 @@ org.gaul modernizer-maven-plugin - 2.7.0 + 2.8.0 ${targetJdk}