diff options
Diffstat (limited to 'docs/developer/RELEASE.md')
-rw-r--r-- | docs/developer/RELEASE.md | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/docs/developer/RELEASE.md b/docs/developer/RELEASE.md index 223ad10d6..d505b1735 100644 --- a/docs/developer/RELEASE.md +++ b/docs/developer/RELEASE.md @@ -50,7 +50,7 @@ This only deploys the main artifacts The AspectJ installer (`installer/target/aspectj-[VERSION].jar`) needs to be published separately, if you wish to make it available to the public for this snapshot. -To consume a snapshot, use the ossrh repository: +To consume an AspectJ snapshot published this way, use the OSSRH repository in the dependent project's POM: ```xml <repository> @@ -59,14 +59,6 @@ To consume a snapshot, use the ossrh repository: </repository> ``` -```xml -<pluginRepository> - <id>ossrh</id> - <url>https://oss.sonatype.org/content/repositories/snapshots</url> -</pluginRepository> -``` - - ## Public releases (milestone, release candidate, final) The artifacts released are the same as for snapshots, the procedure needs a few more steps, though. I am explaining the @@ -104,11 +96,13 @@ mvn versions:commit 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" # Build and deploy the release to a Nexus staging repository. -# The 'release' profile will activate -# - Maven GPG plugin for signing artifacts (stand by to enter your passpharase!), -# If there is a message 'Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign' try 'export GPG_TTY=$(tty)' before running the command, -# - Maven Javadoc plugin, -# - Nexus Staging Maven plugin. +# The 'release' profile will activate: +# - Maven GPG plugin for signing artifacts (stand by to enter your passpharase). +# On Windows, a GUI password dialogue should pop up with a recent GnuPG version. +# In case of error 'Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign', +# try 'export GPG_TTY=$(tty)' before running the command. +# - Maven Javadoc plugin +# - Nexus Staging Maven plugin # Optionally, use '-DskipTests=true', if you ran all tests before. mvn -P release clean deploy ``` |