diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml
index 63edfca..ac61dfb 100644
--- a/.github/workflows/maven-publish.yml
+++ b/.github/workflows/maven-publish.yml
@@ -39,7 +39,7 @@ jobs:
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
uses: actions/setup-java@v3
with:
- java-version: 17
+ java-version: 8
distribution: temurin
cache: 'maven'
server-id: mchv-snapshot-distribution
@@ -59,7 +59,7 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
uses: actions/setup-java@v3
with:
- java-version: 17
+ java-version: 8
distribution: temurin
cache: 'maven'
server-id: mchv-release-distribution
diff --git a/.gitignore b/.gitignore
index 6bf4eaf..e28b48c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -164,3 +164,4 @@ $RECYCLE.BIN/
/.classpath
/.project
/.settings/
+/.flattened-pom.xml
diff --git a/pom.xml b/pom.xml
index 1eba8a9..e292253 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,10 +63,6 @@
UTF-8
8
-
- --add-modules
- jdk.unsupported
-