Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Commit f199175

Browse files
authored
Fix OSSRH-66257
1 parent ef5f73f commit f199175

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/test-deploy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v2
2323

24+
# Fixes OSSRH-66257
25+
# See https://issues.sonatype.org/browse/OSSRH-66257?focusedCommentId=1036973&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-1036973
26+
- if: ${{ matrix.java == 17 }}
27+
run: |
28+
export 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"
29+
2430
- name: Set up JDK and configure for ossrh
2531
uses: actions/setup-java@v2
2632
with: # running setup-java again overwrites the settings.xml

0 commit comments

Comments
 (0)