From 6225e45b6c1bb56275872c26ae7df97d4d012ee8 Mon Sep 17 00:00:00 2001 From: huanghaiquan Date: Wed, 18 Dec 2019 00:39:03 +0800 Subject: [PATCH] Fixed compilation errors of framework; --- core/gateway/pom.xml | 6 ++-- core/ledger/pom.xml | 1 - core/manager/manager-web/pom.xml | 2 +- core/peer/pom.xml | 4 +-- core/pom.xml | 2 ++ deploy/deploy-gateway/pom.xml | 17 ++++++----- deploy/deploy-peer/pom.xml | 22 +++++++------- deploy/pom.xml | 29 ++++++++----------- framework/pom.xml | 1 + framework/sdk/pom.xml | 1 + framework/sdk/sdk-client/pom.xml | 2 +- .../sdk/sdk-rpc}/pom.xml | 16 ++-------- .../converters/BinaryMessageConverter.java | 0 .../web/converters/BytesInputConverter.java | 0 .../converters/HashDigestInputConverter.java | 0 .../ByteArrayObjectJsonDeserializer.java | 0 .../ByteArrayObjectJsonSerializer.java | 0 .../web/serializes/ByteArrayObjectUtil.java | 0 18 files changed, 45 insertions(+), 58 deletions(-) rename {core/ledger/ledger-rpc => framework/sdk/sdk-rpc}/pom.xml (72%) rename {core/ledger/ledger-rpc => framework/sdk/sdk-rpc}/src/main/java/com/jd/blockchain/web/converters/BinaryMessageConverter.java (100%) rename {core/ledger/ledger-rpc => framework/sdk/sdk-rpc}/src/main/java/com/jd/blockchain/web/converters/BytesInputConverter.java (100%) rename {core/ledger/ledger-rpc => framework/sdk/sdk-rpc}/src/main/java/com/jd/blockchain/web/converters/HashDigestInputConverter.java (100%) rename {core/ledger/ledger-rpc => framework/sdk/sdk-rpc}/src/main/java/com/jd/blockchain/web/serializes/ByteArrayObjectJsonDeserializer.java (100%) rename {core/ledger/ledger-rpc => framework/sdk/sdk-rpc}/src/main/java/com/jd/blockchain/web/serializes/ByteArrayObjectJsonSerializer.java (100%) rename {core/ledger/ledger-rpc => framework/sdk/sdk-rpc}/src/main/java/com/jd/blockchain/web/serializes/ByteArrayObjectUtil.java (100%) diff --git a/core/gateway/pom.xml b/core/gateway/pom.xml index 2556937d..1b595ffa 100644 --- a/core/gateway/pom.xml +++ b/core/gateway/pom.xml @@ -28,8 +28,8 @@ com.jd.blockchain - ledger-rpc - ${project.version} + sdk-rpc + ${framework.version} com.jd.blockchain @@ -46,7 +46,7 @@ com.jd.blockchain data-explorer - 1.1.1.RELEASE + 1.1.2.RELEASE diff --git a/core/ledger/pom.xml b/core/ledger/pom.xml index fe53caf4..bd9e75aa 100644 --- a/core/ledger/pom.xml +++ b/core/ledger/pom.xml @@ -12,6 +12,5 @@ ledger-database - ledger-rpc \ No newline at end of file diff --git a/core/manager/manager-web/pom.xml b/core/manager/manager-web/pom.xml index 2df0b6d5..88d34b32 100644 --- a/core/manager/manager-web/pom.xml +++ b/core/manager/manager-web/pom.xml @@ -71,7 +71,7 @@ com.jd.blockchain manager-explorer - 1.1.1.RELEASE + 1.1.2.RELEASE diff --git a/core/peer/pom.xml b/core/peer/pom.xml index 19f850e1..d357e868 100644 --- a/core/peer/pom.xml +++ b/core/peer/pom.xml @@ -27,8 +27,8 @@ com.jd.blockchain - ledger-rpc - ${project.version} + sdk-rpc + ${framework.version} com.jd.blockchain diff --git a/core/pom.xml b/core/pom.xml index b23168f5..d1fc9f8c 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -6,6 +6,7 @@ com.jd.blockchain jdchain-parent 1.1.1.RELEASE + ../project/parent com.jd.blockchain @@ -18,6 +19,7 @@ + ../framework consensus contract crypto diff --git a/deploy/deploy-gateway/pom.xml b/deploy/deploy-gateway/pom.xml index ea4f9310..3b23c591 100644 --- a/deploy/deploy-gateway/pom.xml +++ b/deploy/deploy-gateway/pom.xml @@ -4,30 +4,31 @@ 4.0.0 com.jd.blockchain - deployment - 1.1.2.RELEASE + deploy-root + 1.2.0-SNAPSHOT - deployment-gateway + deploy-gateway + com.jd.blockchain gateway - ${project.version} + ${core.version} com.jd.blockchain consensus-bftsmart - ${project.version} + ${core.version} com.jd.blockchain consensus-mq - ${project.version} + ${core.version} - + diff --git a/deploy/deploy-peer/pom.xml b/deploy/deploy-peer/pom.xml index 266e5855..6a3f665f 100644 --- a/deploy/deploy-peer/pom.xml +++ b/deploy/deploy-peer/pom.xml @@ -4,33 +4,33 @@ 4.0.0 com.jd.blockchain - deployment - 1.1.2.RELEASE + deploy-root + 1.2.0-SNAPSHOT - deployment-peer + deploy-peer com.jd.blockchain peer - ${project.version} + ${core.version} com.jd.blockchain runtime-modular - ${project.version} + ${core.version} com.jd.blockchain runtime-modular-booter - ${project.version} + ${core.version} com.jd.blockchain manager-booter - ${project.version} + ${core.version} - + com.jd.blockchain storage-redis - ${project.version} + ${core.version} com.jd.blockchain storage-rocksdb - ${project.version} + ${core.version} - - - - - - - - - - - \ No newline at end of file diff --git a/core/ledger/ledger-rpc/src/main/java/com/jd/blockchain/web/converters/BinaryMessageConverter.java b/framework/sdk/sdk-rpc/src/main/java/com/jd/blockchain/web/converters/BinaryMessageConverter.java similarity index 100% rename from core/ledger/ledger-rpc/src/main/java/com/jd/blockchain/web/converters/BinaryMessageConverter.java rename to framework/sdk/sdk-rpc/src/main/java/com/jd/blockchain/web/converters/BinaryMessageConverter.java diff --git a/core/ledger/ledger-rpc/src/main/java/com/jd/blockchain/web/converters/BytesInputConverter.java b/framework/sdk/sdk-rpc/src/main/java/com/jd/blockchain/web/converters/BytesInputConverter.java similarity index 100% rename from core/ledger/ledger-rpc/src/main/java/com/jd/blockchain/web/converters/BytesInputConverter.java rename to framework/sdk/sdk-rpc/src/main/java/com/jd/blockchain/web/converters/BytesInputConverter.java diff --git a/core/ledger/ledger-rpc/src/main/java/com/jd/blockchain/web/converters/HashDigestInputConverter.java b/framework/sdk/sdk-rpc/src/main/java/com/jd/blockchain/web/converters/HashDigestInputConverter.java similarity index 100% rename from core/ledger/ledger-rpc/src/main/java/com/jd/blockchain/web/converters/HashDigestInputConverter.java rename to framework/sdk/sdk-rpc/src/main/java/com/jd/blockchain/web/converters/HashDigestInputConverter.java diff --git a/core/ledger/ledger-rpc/src/main/java/com/jd/blockchain/web/serializes/ByteArrayObjectJsonDeserializer.java b/framework/sdk/sdk-rpc/src/main/java/com/jd/blockchain/web/serializes/ByteArrayObjectJsonDeserializer.java similarity index 100% rename from core/ledger/ledger-rpc/src/main/java/com/jd/blockchain/web/serializes/ByteArrayObjectJsonDeserializer.java rename to framework/sdk/sdk-rpc/src/main/java/com/jd/blockchain/web/serializes/ByteArrayObjectJsonDeserializer.java diff --git a/core/ledger/ledger-rpc/src/main/java/com/jd/blockchain/web/serializes/ByteArrayObjectJsonSerializer.java b/framework/sdk/sdk-rpc/src/main/java/com/jd/blockchain/web/serializes/ByteArrayObjectJsonSerializer.java similarity index 100% rename from core/ledger/ledger-rpc/src/main/java/com/jd/blockchain/web/serializes/ByteArrayObjectJsonSerializer.java rename to framework/sdk/sdk-rpc/src/main/java/com/jd/blockchain/web/serializes/ByteArrayObjectJsonSerializer.java diff --git a/core/ledger/ledger-rpc/src/main/java/com/jd/blockchain/web/serializes/ByteArrayObjectUtil.java b/framework/sdk/sdk-rpc/src/main/java/com/jd/blockchain/web/serializes/ByteArrayObjectUtil.java similarity index 100% rename from core/ledger/ledger-rpc/src/main/java/com/jd/blockchain/web/serializes/ByteArrayObjectUtil.java rename to framework/sdk/sdk-rpc/src/main/java/com/jd/blockchain/web/serializes/ByteArrayObjectUtil.java