Skip to content

Commit 7c3c3ca

Browse files
apply workaround for nexus-staging-plugin
1 parent 3c59a10 commit 7c3c3ca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/publish-central.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ jobs:
2828
- name: Deploy
2929
run: mvn deploy -B -DskipTests -Psign,deploy-central --no-transfer-progress
3030
env:
31+
MAVEN_OPTS: >
32+
--add-opens=java.base/java.util=ALL-UNNAMED
33+
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
34+
--add-opens=java.base/java.text=ALL-UNNAMED
35+
--add-opens=java.desktop/java.awt.font=ALL-UNNAMED
3136
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
3237
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
3338
MAVEN_GPG_PASSPHRASE: ${{ secrets.RELEASES_GPG_PASSPHRASE }}

0 commit comments

Comments
 (0)