From a08c5ab55cd7712d81da51bfde4a3f636b81b4d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francesco=20Chicchiricc=C3=B2?= Date: Mon, 26 Feb 2024 08:57:49 +0100 Subject: [PATCH] Requiring Maven >= 3.9.5 to build --- .github/workflows/ci.yml | 5 +++++ .github/workflows/pr.yml | 5 +++++ pom.xml | 24 ++++++++++++++++++++++++ 3 files changed, 34 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40ccdcd..32f4638 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,11 @@ jobs: distribution: 'zulu' java-version: 8 + - 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 d46384d..4a64168 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -37,6 +37,11 @@ jobs: distribution: 'zulu' java-version: 8 + - 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/pom.xml b/pom.xml index 4d5e026..3c87d32 100644 --- a/pom.xml +++ b/pom.xml @@ -224,6 +224,30 @@ + + org.apache.maven.plugins + maven-enforcer-plugin + 3.4.1 + + + default-cli + + enforce + + + + + ${targetJdk} + + + 3.9.5 + + + + + + + org.gaul modernizer-maven-plugin