From 16d1cc378d351f18f502b3bed504892f1835ada6 Mon Sep 17 00:00:00 2001 From: Tim Donohue Date: Wed, 18 Mar 2020 10:43:42 -0500 Subject: [PATCH 1/5] Update POM for release via Sonatype --- pom.xml | 257 ++++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 229 insertions(+), 28 deletions(-) diff --git a/pom.xml b/pom.xml index b249ddfe..74dae3bc 100644 --- a/pom.xml +++ b/pom.xml @@ -4,43 +4,148 @@ dspace-replicate jar DSpace Replication Task Suite - https://wiki.duraspace.org/display/DSPACE/ReplicationTaskSuite + Replication Task Suite: A DSpace add-on providing Curation Tasks that perform replication + (backup and restore) of DSpace content to other locations or services. + https://wiki.lyrasis.org/display/DSPACE/ReplicationTaskSuite 3.5-SNAPSHOT - DuraSpace + LYRASIS http://www.dspace.org - - - org.sonatype.oss - oss-parent - 9 - - [5.0,5.20) 6.1.1 + + 1.7 + UTF-8 + ${project.build.sourceEncoding} + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + 1.4.1 + + + enforce-java + + enforce + + + + + ${java.version} + + + [3.0.5,) + + + + + + + enforce-versions + + enforce + + + + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.5.1 + + ${java.version} + ${java.version} + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.6 + + + + true + true + + + + + + org.apache.maven.plugins + maven-assembly-plugin + 2.6 + + + org.apache.maven.plugins + maven-dependency-plugin + 2.10 + + + org.apache.maven.plugins + maven-resources-plugin + 2.7 + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.3 + + + false + + + + + org.apache.maven.plugins + maven-source-plugin + 2.4 + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + - - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - + org.apache.maven.plugins maven-release-plugin 2.5.3 + + + release + deploy + + true + - - scm:git:git@github.com:DSpace/dspace-replicate.git - scm:git:git@github.com:DSpace/dspace-replicate.git - git@github.com:DSpace/dspace-replicate.git - HEAD - + + + + release + + false + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + + ossrh + https://oss.sonatype.org/ + + false + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + + jar-no-fork + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + + + sign-artifacts + verify + + sign + + + + + + + + @@ -130,4 +288,47 @@ + + + + DSpace BSD License + https://raw.github.com/DSpace/DSpace/master/LICENSE + repo + + A BSD 3-Clause license for the DSpace codebase. + + + + + + + scm:git:git@github.com:DSpace/dspace-replicate.git + scm:git:git@github.com:DSpace/dspace-replicate.git + git@github.com:DSpace/dspace-replicate.git + HEAD + + + + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + + DSpace Committers + dspace-devel@googlegroups.com + https://wiki.lyrasis.org/display/DSPACE/DSpace+Committers + + + From bc0e383b6d6e382a77d1573056571acf8c5212fd Mon Sep 17 00:00:00 2001 From: Tim Donohue Date: Wed, 18 Mar 2020 11:00:19 -0500 Subject: [PATCH 2/5] Correct version tag for 5.x --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 74dae3bc..e2c1a9bf 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ Replication Task Suite: A DSpace add-on providing Curation Tasks that perform replication (backup and restore) of DSpace content to other locations or services. https://wiki.lyrasis.org/display/DSPACE/ReplicationTaskSuite - 3.5-SNAPSHOT + 5.0-SNAPSHOT LYRASIS From ee3d5b61d471d861ece0c4be85cec6a0bd5f30e6 Mon Sep 17 00:00:00 2001 From: Tim Donohue Date: Wed, 18 Mar 2020 11:12:24 -0500 Subject: [PATCH 3/5] Port of PR38 to fix vulnerability --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e2c1a9bf..1493f056 100644 --- a/pom.xml +++ b/pom.xml @@ -251,7 +251,7 @@ org.apache.commons commons-compress - 1.4.1 + 1.19 org.sonatype.plugins nexus-staging-maven-plugin - 1.6.7 + 1.6.8 org.apache.maven.plugins maven-javadoc-plugin - 2.10.3 + 3.2.0 false @@ -124,7 +124,7 @@ org.apache.maven.plugins maven-source-plugin - 2.4 + 3.2.1 @@ -191,7 +191,6 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.6.7 true