diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a7dc3f6..0cf1610 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -45,6 +45,11 @@ jobs:
distribution: 'zulu'
java-version: ${{ matrix.java }}
+ - 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 1c0f44f..caac22a 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -43,6 +43,11 @@ jobs:
distribution: 'zulu'
java-version: ${{ matrix.java }}
+ - 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 5c7790d..3e7b96e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -157,6 +157,30 @@
+
+ org.apache.maven.plugins
+ maven-enforcer-plugin
+ 3.4.1
+
+
+ default-cli
+
+ enforce
+
+
+
+
+ ${targetJdk}
+
+
+ 3.9.5
+
+
+
+
+
+
+
org.gaul
modernizer-maven-plugin