From 33adcc825543b8f92cee26fb8236485de4d28a35 Mon Sep 17 00:00:00 2001 From: Kristof Adriaenssens Date: Tue, 22 Sep 2015 21:10:59 +0200 Subject: [PATCH] Enable artefact publishing configuration Configure project to support publishing of snapshots and release artefacts according to instructions found here: http://central.sonatype.org/pages/apache-maven.html --- pom.xml | 128 +++++++++++++----- swift-codec/pom.xml | 2 +- zipkin-java-core/pom.xml | 2 +- zipkin-java-dependencies/pom.xml | 2 +- zipkin-java-query/pom.xml | 2 +- zipkin-java-scribe/pom.xml | 2 +- zipkin-java-server/dependency-reduced-pom.xml | 2 +- zipkin-java-server/pom.xml | 2 +- 8 files changed, 102 insertions(+), 40 deletions(-) diff --git a/pom.xml b/pom.xml index ebb8f3afa58..acf7160b82c 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - io.zipkin.experimental + io.zipkin zipkin-java 0.1.0-SNAPSHOT pom @@ -77,6 +77,17 @@ scm:git:git@github.com:openzipkin/zipkin-java.git + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + Github https://github.com/openzipkin/zipkin-java/issues @@ -199,38 +210,6 @@ - - - maven-source-plugin - ${maven-source-plugin.version} - - - attach-sources - - jar - - - - - - - - maven-javadoc-plugin - ${maven-javadoc-plugin.version} - - false - io.zipkin.internal,io.zipkin.internal.* - - - - jar - - jar - - package - - - @@ -270,6 +249,89 @@ + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.6 + true + + ossrh + https://oss.sonatype.org/ + true + + + + + org.apache.maven.plugins + maven-release-plugin + 2.5 + + true + false + release + deploy + + + + + + release + + + + + maven-source-plugin + ${maven-source-plugin.version} + + + attach-sources + + jar + + + + + + + + maven-javadoc-plugin + ${maven-javadoc-plugin.version} + + false + io.zipkin.internal,io.zipkin.internal.* + + + + attach-javadocs + + jar + + package + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + + + + + + + diff --git a/swift-codec/pom.xml b/swift-codec/pom.xml index 0e344c53b07..b5a98aee8d6 100644 --- a/swift-codec/pom.xml +++ b/swift-codec/pom.xml @@ -20,7 +20,7 @@ 4.0.0 - io.zipkin.experimental + io.zipkin zipkin-java 0.1.0-SNAPSHOT diff --git a/zipkin-java-core/pom.xml b/zipkin-java-core/pom.xml index 71b9b4b1797..1dbd04a2bb9 100644 --- a/zipkin-java-core/pom.xml +++ b/zipkin-java-core/pom.xml @@ -20,7 +20,7 @@ 4.0.0 - io.zipkin.experimental + io.zipkin zipkin-java 0.1.0-SNAPSHOT diff --git a/zipkin-java-dependencies/pom.xml b/zipkin-java-dependencies/pom.xml index 888770ff36a..2d83b6cbd84 100644 --- a/zipkin-java-dependencies/pom.xml +++ b/zipkin-java-dependencies/pom.xml @@ -20,7 +20,7 @@ 4.0.0 - io.zipkin.experimental + io.zipkin zipkin-java 0.1.0-SNAPSHOT diff --git a/zipkin-java-query/pom.xml b/zipkin-java-query/pom.xml index 0fe2fd45e91..5d41dc58f9f 100644 --- a/zipkin-java-query/pom.xml +++ b/zipkin-java-query/pom.xml @@ -20,7 +20,7 @@ 4.0.0 - io.zipkin.experimental + io.zipkin zipkin-java 0.1.0-SNAPSHOT diff --git a/zipkin-java-scribe/pom.xml b/zipkin-java-scribe/pom.xml index 636c62e212d..ecc7597f852 100644 --- a/zipkin-java-scribe/pom.xml +++ b/zipkin-java-scribe/pom.xml @@ -20,7 +20,7 @@ 4.0.0 - io.zipkin.experimental + io.zipkin zipkin-java 0.1.0-SNAPSHOT diff --git a/zipkin-java-server/dependency-reduced-pom.xml b/zipkin-java-server/dependency-reduced-pom.xml index faa3dedfba7..d633ae4da49 100644 --- a/zipkin-java-server/dependency-reduced-pom.xml +++ b/zipkin-java-server/dependency-reduced-pom.xml @@ -2,7 +2,7 @@ zipkin-java - io.zipkin.experimental + io.zipkin 0.1.0-SNAPSHOT 4.0.0 diff --git a/zipkin-java-server/pom.xml b/zipkin-java-server/pom.xml index fba8fd2d649..43610cf24bb 100644 --- a/zipkin-java-server/pom.xml +++ b/zipkin-java-server/pom.xml @@ -20,7 +20,7 @@ 4.0.0 - io.zipkin.experimental + io.zipkin zipkin-java 0.1.0-SNAPSHOT