aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2023-11-19 13:48:26 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2023-11-19 13:48:26 +0700
commit021fcf16f1828e311621d172dfb084fe309144f4 (patch)
tree51b8e81ecc47be1be36acf5a3cf00b461894b886
parent8e8d81cae8b098f3289253aeda20e77a43939866 (diff)
downloadaspectj-021fcf16f1828e311621d172dfb084fe309144f4.tar.gz
aspectj-021fcf16f1828e311621d172dfb084fe309144f4.zip
RELEASE.md: Add '--add-opens' info for Nexus Staging 'rc:release'
Sonatype has not solved the problems in Nexus Staging Maven Plugin for years, so it makes sense to document them. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
-rw-r--r--docs/developer/RELEASE.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/developer/RELEASE.md b/docs/developer/RELEASE.md
index 7feea0641..1a758a15f 100644
--- a/docs/developer/RELEASE.md
+++ b/docs/developer/RELEASE.md
@@ -159,6 +159,10 @@ mvn nexus-staging:rc-list
# [INFO] ID State Description
# [INFO] orgaspectj-1106 CLOSED org.aspectj:aspectjrt:1.9.8.M2
+# Because of problems in Nexus Staging Maven Plugin with more recent JDKs,
+# we might need this first
+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"
+
# Use the ID of the corresponding CLOSED staging repository for releasing to
# Maven Central
mvn nexus-staging:rc-release -DstagingRepositoryId=orgaspectj-1106