diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4738df8..e83b02b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -32,6 +32,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 df4fc13..06581a5 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -30,6 +30,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 9df0a0e..2eff40d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -226,10 +226,34 @@
+
+ org.apache.maven.plugins
+ maven-enforcer-plugin
+ 3.4.1
+
+
+ default-cli
+
+ enforce
+
+
+
+
+ ${targetJdk}
+
+
+ 3.9.5
+
+
+
+
+
+
+
org.gaul
modernizer-maven-plugin
- 2.7.0
+ 2.8.0
${targetJdk}