diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bb1d802..25a9155 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,5 +24,6 @@ jobs: env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} + MAVEN_OPTS: "--add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED" run: | mvn --no-transfer-progress --batch-mode -Dgpg.passphrase='${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}' clean deploy \ No newline at end of file diff --git a/pom.xml b/pom.xml index 35c75e1..800aef2 100644 --- a/pom.xml +++ b/pom.xml @@ -114,18 +114,6 @@ https://s01.oss.sonatype.org/ true - - - - com.thoughtworks.xstream - xstream - 1.4.15 - -