From e8ad002f1608c8688c87fc74a6d67d47277d34ed Mon Sep 17 00:00:00 2001 From: Novemser <2072806652@qq.com> Date: Sun, 24 Jun 2018 21:09:42 +0800 Subject: [PATCH] Add deployment tools and info in pom (#369) --- core/pom.xml | 44 ++++++++++++++++++++++++++----- pom.xml | 64 +++++++++++++++++++++++++++++++++++++++------ tikv-client/pom.xml | 35 ++++++++++++++++++++++--- 3 files changed, 124 insertions(+), 19 deletions(-) diff --git a/core/pom.xml b/core/pom.xml index 9b5f457678..4f34b5a126 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -104,6 +104,12 @@ testCompile + + attach-javadocs + + doc-jar + + ${scala.version} @@ -173,11 +179,10 @@ org.apache.maven.plugins maven-source-plugin - 2.1.2 + 3.0.1 attach-sources - deploy jar-no-fork @@ -194,13 +199,38 @@ org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 2.9.1 - UTF-8 - UTF-8 - UTF-8 - zh_CN + ${javadoc.skip} + + + attach-javadocs + + jar + + + -Xdoclint:none + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + ${gpg.skip} + + + + sign-artifacts + + sign + + + diff --git a/pom.xml b/pom.xml index 546421c002..27d29bb2f8 100644 --- a/pom.xml +++ b/pom.xml @@ -3,9 +3,9 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.apache - apache - 18 + org.apache + apache + 18 com.pingcap.tispark @@ -16,15 +16,50 @@ http://github.copm/pingcap/tispark - - Apache 2.0 License - http://www.apache.org/licenses/LICENSE-2.0.html - repo - + + Apache 2.0 License + http://www.apache.org/licenses/LICENSE-2.0.html + repo + + PingCAP + + + + Xiaoyu Ma + maxiaoyu@pingcap.com + PingCAP + https://www.pingcap.com + + + Yifei Wu + birdstorm@pingcap.com + PingCAP + https://www.pingcap.com + + + Gansen Hu + hugansen@pingcap.com + PingCAP + https://www.pingcap.com + + + Zhexuan Yang + yangzhexuan@pingcap.com + PingCAP + https://www.pingcap.com + + + + + scm:git:git://github.com/pingcap/tispark.git + scm:git:ssh://github.com:pingcap/tispark.git + https://github.com/pingcap/tispark/tree/master + + UTF-8 UTF-8 @@ -33,8 +68,21 @@ 2.1.1 2.11 2.11.8 + true + true + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + core tikv-client diff --git a/tikv-client/pom.xml b/tikv-client/pom.xml index 1fbb0dfb0e..e3c63261fd 100644 --- a/tikv-client/pom.xml +++ b/tikv-client/pom.xml @@ -257,12 +257,39 @@ org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 2.9.1 - UTF-8 - UTF-8 - UTF-8 + ${javadoc.skip} + + + attach-javadocs + + jar + + + -Xdoclint:none + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + ${gpg.skip} + + + + sign-artifacts + verify + + sign + + +