Skip to content

Commit 4b538ba

Browse files
authored
fix: publish package step
1 parent eca8e22 commit 4b538ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release-to-maven-central.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ jobs:
5555
- name: Publish package
5656
run: mvn --batch-mode clean deploy --no-transfer-progress -P central-deploy -DskipTests=true
5757
env:
58+
#TODO: This is a workaround for NEXUS-27902 which uses XStream that fails on JVM >16
59+
JDK_JAVA_OPTIONS: "--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"
5860
MAVEN_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }}
5961
MAVEN_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }}
6062
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

0 commit comments

Comments
 (0)