From dbf59f784c08978db1ca747cf596e6ca8dcca464 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 31 Oct 2022 11:40:59 +0300 Subject: [PATCH] README.md: add notes on deploying to Maven Central --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index d8b797e..09aa82e 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,14 @@ This project was initially created according to the [Maven Getting Started Guide $ mvn -B archetype:generate -DgroupId=io.github.ilri.cgspace -DartifactId=cgspace-java-helpers -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.4 ``` +To deploy a new `-SNAPSHOT` release to Maven Central (make sure OSSHRH credentials are in `~/.m2/settings.xml`): + +```console +$ mvn clean deploy +``` + +See: Performing a Snapshot Deployment + ## License This work is licensed under the [GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html).