Skip to content

Commit cb95cce

Browse files
committed
Add nexus-staging-maven-plugin workaround
1 parent 4996fb9 commit cb95cce

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
4343
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
4444
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
45+
# Workaround for https://issues.sonatype.org/browse/OSSRH-66257
46+
# as described in https://stackoverflow.com/a/70157413
47+
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
4548
- name: Create GitHub release
4649
uses: softprops/action-gh-release@v1
4750
id: syntax-annotation-release

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<maven-surefire-plugin-version>3.0.0-M7</maven-surefire-plugin-version>
4949
<maven-javadoc-plugin-version>3.3.2</maven-javadoc-plugin-version>
5050
<maven-source-plugin-version>3.2.1</maven-source-plugin-version>
51-
<nexus-staging-maven-plugin-version>1.6.7</nexus-staging-maven-plugin-version>
51+
<nexus-staging-maven-plugin-version>1.6.9</nexus-staging-maven-plugin-version>
5252
<maven-gpg-plugin-version>3.0.1</maven-gpg-plugin-version>
5353
</properties>
5454

0 commit comments

Comments
 (0)