From ff6ed32ed8100b8b9dee6635f21e921db37f5506 Mon Sep 17 00:00:00 2001 From: javahongxi Date: Sun, 2 Dec 2018 00:36:15 +0800 Subject: [PATCH] pom optimise --- .../dubbo-spring-boot-actuator/pom.xml | 1 - .../dubbo-spring-boot-autoconfigure/pom.xml | 7 ------ .../dubbo-spring-boot-starter/pom.xml | 9 ------- whatsmars-dubbo/pom.xml | 25 ------------------- .../dubbo/demo/consumer/AsyncConsumer.java | 1 - .../dubbo/demo/consumer/AsyncConsumer2.java | 2 -- .../dubbo/demo/consumer/DemoConsumer.java | 5 ---- whatsmars-dubbo/whatsmars-zk/pom.xml | 13 ++++------ 8 files changed, 5 insertions(+), 58 deletions(-) diff --git a/whatsmars-dubbo/dubbo-spring-boot-actuator/pom.xml b/whatsmars-dubbo/dubbo-spring-boot-actuator/pom.xml index 0fd33510..1d2a021f 100644 --- a/whatsmars-dubbo/dubbo-spring-boot-actuator/pom.xml +++ b/whatsmars-dubbo/dubbo-spring-boot-actuator/pom.xml @@ -36,7 +36,6 @@ true - org.springframework.boot spring-boot-configuration-processor diff --git a/whatsmars-dubbo/dubbo-spring-boot-autoconfigure/pom.xml b/whatsmars-dubbo/dubbo-spring-boot-autoconfigure/pom.xml index bde456ca..d92edfcd 100644 --- a/whatsmars-dubbo/dubbo-spring-boot-autoconfigure/pom.xml +++ b/whatsmars-dubbo/dubbo-spring-boot-autoconfigure/pom.xml @@ -12,7 +12,6 @@ dubbo-spring-boot-autoconfigure - org.springframework.boot spring-boot-autoconfigure @@ -23,21 +22,16 @@ spring-boot-starter-logging true - - org.springframework.boot spring-boot-configuration-processor true - - com.alibaba dubbo true - io.netty netty-all @@ -45,5 +39,4 @@ - \ No newline at end of file diff --git a/whatsmars-dubbo/dubbo-spring-boot-starter/pom.xml b/whatsmars-dubbo/dubbo-spring-boot-starter/pom.xml index 40a4ecbf..a6ddb2ff 100644 --- a/whatsmars-dubbo/dubbo-spring-boot-starter/pom.xml +++ b/whatsmars-dubbo/dubbo-spring-boot-starter/pom.xml @@ -12,31 +12,22 @@ dubbo-spring-boot-starter - org.springframework.boot spring-boot-starter true - com.alibaba dubbo - io.netty netty-all - - - org.apache.zookeeper - zookeeper - - com.101tec zkclient diff --git a/whatsmars-dubbo/pom.xml b/whatsmars-dubbo/pom.xml index dd377fcd..577b9545 100644 --- a/whatsmars-dubbo/pom.xml +++ b/whatsmars-dubbo/pom.xml @@ -30,23 +30,12 @@ 2.6.4 - 3.4.13 2.48-jdk-6 1.3.0-GA - - - - - - - - - - com.alibaba dubbo @@ -63,19 +52,6 @@ - - - org.apache.zookeeper - zookeeper - ${zookeeper.version} - - - org.slf4j - slf4j-log4j12 - - - - de.ruedigermoeller fst @@ -92,7 +68,6 @@ sentinel-transport-simple-http ${sentinel.version} - diff --git a/whatsmars-dubbo/whatsmars-dubbo-consumer/src/main/java/org/hongxi/whatsmars/dubbo/demo/consumer/AsyncConsumer.java b/whatsmars-dubbo/whatsmars-dubbo-consumer/src/main/java/org/hongxi/whatsmars/dubbo/demo/consumer/AsyncConsumer.java index 61b2f589..053159eb 100644 --- a/whatsmars-dubbo/whatsmars-dubbo-consumer/src/main/java/org/hongxi/whatsmars/dubbo/demo/consumer/AsyncConsumer.java +++ b/whatsmars-dubbo/whatsmars-dubbo-consumer/src/main/java/org/hongxi/whatsmars/dubbo/demo/consumer/AsyncConsumer.java @@ -4,7 +4,6 @@ package org.hongxi.whatsmars.dubbo.demo.consumer; import com.alibaba.dubbo.rpc.RpcContext; -import com.alibaba.dubbo.rpc.service.EchoService; import org.hongxi.whatsmars.dubbo.demo.api.BarService; import org.hongxi.whatsmars.dubbo.demo.api.DemoService; import org.hongxi.whatsmars.dubbo.demo.api.vo.Bar; diff --git a/whatsmars-dubbo/whatsmars-dubbo-consumer/src/main/java/org/hongxi/whatsmars/dubbo/demo/consumer/AsyncConsumer2.java b/whatsmars-dubbo/whatsmars-dubbo-consumer/src/main/java/org/hongxi/whatsmars/dubbo/demo/consumer/AsyncConsumer2.java index 2a302275..6ea14fe6 100644 --- a/whatsmars-dubbo/whatsmars-dubbo-consumer/src/main/java/org/hongxi/whatsmars/dubbo/demo/consumer/AsyncConsumer2.java +++ b/whatsmars-dubbo/whatsmars-dubbo-consumer/src/main/java/org/hongxi/whatsmars/dubbo/demo/consumer/AsyncConsumer2.java @@ -4,9 +4,7 @@ package org.hongxi.whatsmars.dubbo.demo.consumer; import com.alibaba.dubbo.rpc.RpcContext; -import org.hongxi.whatsmars.dubbo.demo.api.BarService; import org.hongxi.whatsmars.dubbo.demo.api.DemoService; -import org.hongxi.whatsmars.dubbo.demo.api.vo.Bar; import org.springframework.context.support.ClassPathXmlApplicationContext; import java.util.concurrent.Callable; diff --git a/whatsmars-dubbo/whatsmars-dubbo-consumer/src/main/java/org/hongxi/whatsmars/dubbo/demo/consumer/DemoConsumer.java b/whatsmars-dubbo/whatsmars-dubbo-consumer/src/main/java/org/hongxi/whatsmars/dubbo/demo/consumer/DemoConsumer.java index f8ccdeea..ca651a4a 100644 --- a/whatsmars-dubbo/whatsmars-dubbo-consumer/src/main/java/org/hongxi/whatsmars/dubbo/demo/consumer/DemoConsumer.java +++ b/whatsmars-dubbo/whatsmars-dubbo-consumer/src/main/java/org/hongxi/whatsmars/dubbo/demo/consumer/DemoConsumer.java @@ -3,15 +3,10 @@ */ package org.hongxi.whatsmars.dubbo.demo.consumer; -import com.alibaba.dubbo.rpc.RpcContext; import com.alibaba.dubbo.rpc.service.EchoService; -import org.hongxi.whatsmars.dubbo.demo.api.BarService; import org.hongxi.whatsmars.dubbo.demo.api.DemoService; -import org.hongxi.whatsmars.dubbo.demo.api.vo.Bar; import org.springframework.context.support.ClassPathXmlApplicationContext; -import java.util.concurrent.Future; - public class DemoConsumer { public static void main(String[] args) throws Exception { diff --git a/whatsmars-dubbo/whatsmars-zk/pom.xml b/whatsmars-dubbo/whatsmars-zk/pom.xml index fc5fe794..e6d1d5e0 100644 --- a/whatsmars-dubbo/whatsmars-zk/pom.xml +++ b/whatsmars-dubbo/whatsmars-zk/pom.xml @@ -11,18 +11,15 @@ whatsmars-zk + + 3.4.13 + + org.apache.zookeeper zookeeper - - - org.slf4j - slf4j-api - - - org.slf4j - slf4j-log4j12 + ${zookeeper.version} org.apache.curator -- GitLab