From 19be12d38f3c50c8b319846e3d23bf703a704de2 Mon Sep 17 00:00:00 2001 From: zhaoguangwei Date: Thu, 19 Mar 2020 21:41:40 +0800 Subject: [PATCH] add: nexus-staging-maven-plugin --- source/consensus/consensus-bftsmart/pom.xml | 8 +++ source/consensus/consensus-mq/pom.xml | 8 +++ source/contract/contract-framework/pom.xml | 8 +++ source/contract/contract-jvm/pom.xml | 8 +++ source/contract/contract-samples/pom.xml | 8 +++ source/deployment/pom.xml | 8 +++ source/gateway/pom.xml | 10 ++++ source/ledger/ledger-core/pom.xml | 9 +++ source/manager/manager-booter/pom.xml | 8 +++ source/manager/pom.xml | 8 +++ source/peer/pom.xml | 8 +++ source/pom.xml | 57 +++++++------------ source/runtime/pom.xml | 8 +++ source/sdk/sdk-samples/pom.xml | 9 +++ source/storage/pom.xml | 8 +++ source/test/pom.xml | 10 ++++ source/tools/tools-capability/pom.xml | 10 +++- source/tools/tools-initializer-booter/pom.xml | 8 +++ source/tools/tools-initializer/pom.xml | 8 +++ source/tools/tools-keygen-booter/pom.xml | 8 +++ source/tools/tools-mocker/pom.xml | 10 +++- source/utils/utils-test/pom.xml | 8 +++ source/utils/utils-web-server/pom.xml | 8 +++ 23 files changed, 203 insertions(+), 40 deletions(-) diff --git a/source/consensus/consensus-bftsmart/pom.xml b/source/consensus/consensus-bftsmart/pom.xml index ddd9f0ca..0a6c899e 100644 --- a/source/consensus/consensus-bftsmart/pom.xml +++ b/source/consensus/consensus-bftsmart/pom.xml @@ -60,6 +60,14 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + diff --git a/source/consensus/consensus-mq/pom.xml b/source/consensus/consensus-mq/pom.xml index 787845cf..95365780 100644 --- a/source/consensus/consensus-mq/pom.xml +++ b/source/consensus/consensus-mq/pom.xml @@ -65,6 +65,14 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + diff --git a/source/contract/contract-framework/pom.xml b/source/contract/contract-framework/pom.xml index 23b40a68..b61ad0b1 100644 --- a/source/contract/contract-framework/pom.xml +++ b/source/contract/contract-framework/pom.xml @@ -31,6 +31,14 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + \ No newline at end of file diff --git a/source/contract/contract-jvm/pom.xml b/source/contract/contract-jvm/pom.xml index 4d5baf0b..2d72159a 100644 --- a/source/contract/contract-jvm/pom.xml +++ b/source/contract/contract-jvm/pom.xml @@ -37,6 +37,14 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + diff --git a/source/contract/contract-samples/pom.xml b/source/contract/contract-samples/pom.xml index abd97a07..1a30c49a 100644 --- a/source/contract/contract-samples/pom.xml +++ b/source/contract/contract-samples/pom.xml @@ -70,6 +70,14 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + diff --git a/source/deployment/pom.xml b/source/deployment/pom.xml index 0d4e9769..2825e19c 100644 --- a/source/deployment/pom.xml +++ b/source/deployment/pom.xml @@ -25,6 +25,14 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + \ No newline at end of file diff --git a/source/gateway/pom.xml b/source/gateway/pom.xml index 60769483..c1e2dfa6 100644 --- a/source/gateway/pom.xml +++ b/source/gateway/pom.xml @@ -135,6 +135,16 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + + + \ No newline at end of file diff --git a/source/ledger/ledger-core/pom.xml b/source/ledger/ledger-core/pom.xml index 9e3e5458..5a3bd565 100644 --- a/source/ledger/ledger-core/pom.xml +++ b/source/ledger/ledger-core/pom.xml @@ -85,6 +85,15 @@ true + + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + diff --git a/source/manager/manager-booter/pom.xml b/source/manager/manager-booter/pom.xml index 2e97f0fb..112ce311 100644 --- a/source/manager/manager-booter/pom.xml +++ b/source/manager/manager-booter/pom.xml @@ -100,6 +100,14 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + diff --git a/source/manager/pom.xml b/source/manager/pom.xml index e6a1d95b..959827d0 100644 --- a/source/manager/pom.xml +++ b/source/manager/pom.xml @@ -26,6 +26,14 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + \ No newline at end of file diff --git a/source/peer/pom.xml b/source/peer/pom.xml index 1f131a23..c25e62c5 100644 --- a/source/peer/pom.xml +++ b/source/peer/pom.xml @@ -92,6 +92,14 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + diff --git a/source/pom.xml b/source/pom.xml index 9c0f745c..5f738a62 100644 --- a/source/pom.xml +++ b/source/pom.xml @@ -13,7 +13,9 @@ jdchain-root 1.1.4.RELEASE pom + JDChain jdchain + https://github.com/blockchain-jd-com/jdchain.git utils @@ -32,6 +34,7 @@ tools test deployment + deployAsEnd @@ -437,40 +440,6 @@ false - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.4 - - - attach-javadocs - package - - jar - - - ${javadoc.opts} - - - - - - - - - - - - - - - - - - - - @@ -518,13 +487,25 @@ - sonatype-oss-release + oss-release + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.8 + true + + oss-rr + https://oss.sonatype.org/ + false + + + org.apache.maven.plugins maven-source-plugin - 2.1.2 + 2.2.1 attach-sources @@ -553,7 +534,7 @@ org.apache.maven.plugins maven-gpg-plugin - 1.1 + 1.5 sign-artifacts @@ -571,7 +552,7 @@ - sonatype-nexus-staging + oss-rr Nexus Release Repository https://oss.sonatype.org/service/local/staging/deploy/maven2/ diff --git a/source/runtime/pom.xml b/source/runtime/pom.xml index 11abe042..98056093 100644 --- a/source/runtime/pom.xml +++ b/source/runtime/pom.xml @@ -26,6 +26,14 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + \ No newline at end of file diff --git a/source/sdk/sdk-samples/pom.xml b/source/sdk/sdk-samples/pom.xml index f5bba666..84a136bf 100644 --- a/source/sdk/sdk-samples/pom.xml +++ b/source/sdk/sdk-samples/pom.xml @@ -41,6 +41,15 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + + diff --git a/source/storage/pom.xml b/source/storage/pom.xml index b21b4ec8..315ab738 100644 --- a/source/storage/pom.xml +++ b/source/storage/pom.xml @@ -24,6 +24,14 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + \ No newline at end of file diff --git a/source/test/pom.xml b/source/test/pom.xml index 8b95a5a7..48cdb9da 100644 --- a/source/test/pom.xml +++ b/source/test/pom.xml @@ -27,6 +27,16 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + + + \ No newline at end of file diff --git a/source/tools/tools-capability/pom.xml b/source/tools/tools-capability/pom.xml index e570d439..5321d26d 100644 --- a/source/tools/tools-capability/pom.xml +++ b/source/tools/tools-capability/pom.xml @@ -5,7 +5,7 @@ tools com.jd.blockchain - 1.1.0-SNAPSHOT + 1.1.4.RELEASE 4.0.0 @@ -90,6 +90,14 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + diff --git a/source/tools/tools-initializer-booter/pom.xml b/source/tools/tools-initializer-booter/pom.xml index 655520c5..a418ffd1 100644 --- a/source/tools/tools-initializer-booter/pom.xml +++ b/source/tools/tools-initializer-booter/pom.xml @@ -56,6 +56,14 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + \ No newline at end of file diff --git a/source/tools/tools-initializer/pom.xml b/source/tools/tools-initializer/pom.xml index d4de0667..8e00d2e9 100644 --- a/source/tools/tools-initializer/pom.xml +++ b/source/tools/tools-initializer/pom.xml @@ -106,6 +106,14 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + \ No newline at end of file diff --git a/source/tools/tools-keygen-booter/pom.xml b/source/tools/tools-keygen-booter/pom.xml index b6bdef11..7f3c7fe1 100644 --- a/source/tools/tools-keygen-booter/pom.xml +++ b/source/tools/tools-keygen-booter/pom.xml @@ -53,6 +53,14 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + \ No newline at end of file diff --git a/source/tools/tools-mocker/pom.xml b/source/tools/tools-mocker/pom.xml index c78dcd31..9c17e8f0 100644 --- a/source/tools/tools-mocker/pom.xml +++ b/source/tools/tools-mocker/pom.xml @@ -5,7 +5,7 @@ tools com.jd.blockchain - 1.1.0-SNAPSHOT + 1.1.4.RELEASE 4.0.0 @@ -56,6 +56,14 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + diff --git a/source/utils/utils-test/pom.xml b/source/utils/utils-test/pom.xml index cde107df..37626ad5 100644 --- a/source/utils/utils-test/pom.xml +++ b/source/utils/utils-test/pom.xml @@ -70,6 +70,14 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + \ No newline at end of file diff --git a/source/utils/utils-web-server/pom.xml b/source/utils/utils-web-server/pom.xml index 1177215d..450d68c5 100644 --- a/source/utils/utils-web-server/pom.xml +++ b/source/utils/utils-web-server/pom.xml @@ -29,6 +29,14 @@ true + + org.sonatype.plugins + nexus-staging-maven-plugin + + true + + + \ No newline at end of file