From 50a4f68b9d5986d64be4f62d44571b3025af13af Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 3 Aug 2020 14:32:54 +0300 Subject: [PATCH] pom.xml: Add bits for deploying to OSSRH Any time I run `mvn deploy` it will upload a snapshot to OSSRH with the version "1.0-SNAPSHOT" and some timestamp. I still haven't fig- ured out how to "promote a release". --- pom.xml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/pom.xml b/pom.xml index 1550a97..ea83021 100644 --- a/pom.xml +++ b/pom.xml @@ -18,6 +18,14 @@ + + + org.sonatype.oss + oss-parent + 9 + + + UTF-8 1.7 @@ -44,6 +52,23 @@ + + scm:git:git://github.com/ilri/dspace-curation-tasks.git + scm:git:ssh://github.com:nanosai/dspace-curation-tasks.git + http://github.com/ilri/dspace-curation-tasks + + + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2 + + +