From 3c31e14cd68afe692c112e19840d617d1817c78c Mon Sep 17 00:00:00 2001 From: Leif Gruenwoldt Date: Wed, 8 Jan 2020 23:21:14 -0500 Subject: [PATCH] Update pom.xml to prepare for release According to these instructions: https://central.sonatype.org/pages/apache-maven.html --- pom.xml | 78 +++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 65 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index 517c3551..71e54aef 100644 --- a/pom.xml +++ b/pom.xml @@ -35,11 +35,16 @@ brutzman@nps.edu - - org.sonatype.oss - oss-parent - 9 - + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + https://github.com/open-dis/open-dis-java scm:git:git@github.com:open-dis/open-dis-java.git @@ -92,22 +97,69 @@ - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.3 - - -Xdoclint:none - - org.apache.maven.plugins maven-release-plugin 2.5.3 v@{project.version} + false + release + deploy + + + release + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.3 + + + attach-javadocs + + jar + + + + + -Xdoclint:none + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + + + + +