diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/developer/RELEASE.md | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/developer/RELEASE.md b/docs/developer/RELEASE.md index 610a47f4b..13c9100df 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 |