aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2021-06-24 15:44:58 -0700
committerGitHub <noreply@github.com>2021-06-24 15:44:58 -0700
commit0c5302714d9a1a38289f23f40392a967a5a90434 (patch)
treeb2a29cc97a187fa5024ec933a3bff6a4e3db6a86 /docs
parente7c98e473a9890565952f78df78490b641834394 (diff)
downloadaspectj-0c5302714d9a1a38289f23f40392a967a5a90434.tar.gz
aspectj-0c5302714d9a1a38289f23f40392a967a5a90434.zip
Update RELEASE.md
Fixes #71
Diffstat (limited to 'docs')
-rw-r--r--docs/developer/RELEASE.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/developer/RELEASE.md b/docs/developer/RELEASE.md
index 610a47f4b..373b7a6bd 100644
--- a/docs/developer/RELEASE.md
+++ b/docs/developer/RELEASE.md
@@ -13,6 +13,20 @@ the simple case:
## Snapshot releases
+To publish a snapshot, set up your credentials in `.m2/settings.xml` something like:
+
+```xml
+<settings>
+ <servers>
+ <server>
+ <id>ossrh</id>
+ <username>USERNAME</username>
+ <password>PASSWORD</password>
+ </server>
+ </servers>
+</settings>
+```
+
Assuming that you are currently working on version 1.9.7-SNAPSHOT, you simply call:
```shell
@@ -36,6 +50,23 @@ 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:
+
+```xml
+<repository>
+ <id>ossrh</id>
+ <url>https://oss.sonatype.org/content/repositories/snapshots</url>
+</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