From 3e5008f288e544ead6c9f03a108a1381709d4c88 Mon Sep 17 00:00:00 2001 From: vongosling Date: Wed, 29 Jul 2020 14:12:13 +0800 Subject: [PATCH] refactor(build): Remove duplicated logback-core dependency and update some modules to 1.8 compiler lever --- acl/pom.xml | 9 --------- broker/pom.xml | 4 ---- client/pom.xml | 5 ----- common/pom.xml | 5 ----- example/pom.xml | 24 +++++++++--------------- logappender/pom.xml | 5 ----- logging/pom.xml | 5 ----- namesrv/pom.xml | 8 ++------ openmessaging/pom.xml | 4 ++-- pom.xml | 17 +++++++++++------ remoting/pom.xml | 5 ----- store/pom.xml | 5 ----- test/pom.xml | 1 - tools/pom.xml | 4 ---- 14 files changed, 24 insertions(+), 77 deletions(-) diff --git a/acl/pom.xml b/acl/pom.xml index 33839f7c..ed5e709d 100644 --- a/acl/pom.xml +++ b/acl/pom.xml @@ -18,10 +18,6 @@ rocketmq-acl rocketmq-acl ${project.version} - http://maven.apache.org - - UTF-8 - ${project.groupId} @@ -62,11 +58,6 @@ logback-classic test - - ch.qos.logback - logback-core - test - commons-validator commons-validator diff --git a/broker/pom.xml b/broker/pom.xml index f0a9f839..8d52edbf 100644 --- a/broker/pom.xml +++ b/broker/pom.xml @@ -54,10 +54,6 @@ ch.qos.logback logback-classic - - ch.qos.logback - logback-core - com.alibaba fastjson diff --git a/client/pom.xml b/client/pom.xml index 2c86868e..c775ee8f 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -27,11 +27,6 @@ rocketmq-client rocketmq-client ${project.version} - - 1.6 - 1.6 - - ${project.groupId} diff --git a/common/pom.xml b/common/pom.xml index 3897fa55..ad1a1801 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -27,11 +27,6 @@ rocketmq-common rocketmq-common ${project.version} - - 1.6 - 1.6 - - ${project.groupId} diff --git a/example/pom.xml b/example/pom.xml index 32c69d25..4a427d57 100644 --- a/example/pom.xml +++ b/example/pom.xml @@ -17,8 +17,8 @@ - org.apache.rocketmq rocketmq-all + org.apache.rocketmq 4.8.0-SNAPSHOT @@ -37,26 +37,20 @@ rocketmq-srvutil - ch.qos.logback - logback-classic - - - org.javassist - javassist + ${project.groupId} + rocketmq-openmessaging - io.openmessaging - openmessaging-api + ${project.groupId} + rocketmq-acl - org.apache.rocketmq - rocketmq-openmessaging - 4.8.0-SNAPSHOT + ch.qos.logback + logback-classic - org.apache.rocketmq - rocketmq-acl - 4.8.0-SNAPSHOT + org.javassist + javassist diff --git a/logappender/pom.xml b/logappender/pom.xml index 9031acc2..b67d6f70 100644 --- a/logappender/pom.xml +++ b/logappender/pom.xml @@ -42,11 +42,6 @@ log4j-core true - - ch.qos.logback - logback-core - true - ch.qos.logback logback-classic diff --git a/logging/pom.xml b/logging/pom.xml index 9393bcdc..917e37a9 100644 --- a/logging/pom.xml +++ b/logging/pom.xml @@ -27,11 +27,6 @@ rocketmq-logging rocketmq-logging ${project.version} - - 1.6 - 1.6 - - org.slf4j diff --git a/namesrv/pom.xml b/namesrv/pom.xml index 2a22dfc7..9a7eb350 100644 --- a/namesrv/pom.xml +++ b/namesrv/pom.xml @@ -29,11 +29,11 @@ - org.apache.rocketmq + ${project.groupId} rocketmq-client - org.apache.rocketmq + ${project.groupId} rocketmq-tools @@ -44,10 +44,6 @@ ch.qos.logback logback-classic - - ch.qos.logback - logback-core - org.slf4j slf4j-api diff --git a/openmessaging/pom.xml b/openmessaging/pom.xml index 7f487419..8a0db607 100644 --- a/openmessaging/pom.xml +++ b/openmessaging/pom.xml @@ -22,8 +22,8 @@ org.apache.rocketmq 4.8.0-SNAPSHOT - 4.0.0 + 4.0.0 rocketmq-openmessaging rocketmq-openmessaging ${project.version} @@ -33,7 +33,7 @@ openmessaging-api - org.apache.rocketmq + ${project.groupId} rocketmq-client diff --git a/pom.xml b/pom.xml index bcab5ed9..2d0d9437 100644 --- a/pom.xml +++ b/pom.xml @@ -119,7 +119,6 @@ namesrv remoting logappender - example srvutil filter test @@ -127,6 +126,7 @@ openmessaging logging acl + example @@ -530,6 +530,16 @@ rocketmq-filter ${project.version} + + ${project.groupId} + rocketmq-acl + ${project.version} + + + ${project.groupId} + rocketmq-openmessaging + ${project.version} + ${project.groupId} rocketmq-example @@ -550,11 +560,6 @@ logback-classic 1.0.13 - - ch.qos.logback - logback-core - 1.0.13 - commons-cli commons-cli diff --git a/remoting/pom.xml b/remoting/pom.xml index e1d496db..27f44eab 100644 --- a/remoting/pom.xml +++ b/remoting/pom.xml @@ -27,11 +27,6 @@ rocketmq-remoting rocketmq-remoting ${project.version} - - 1.6 - 1.6 - - com.alibaba diff --git a/store/pom.xml b/store/pom.xml index 0a5923a6..d7d0b9f0 100644 --- a/store/pom.xml +++ b/store/pom.xml @@ -56,10 +56,5 @@ logback-classic test - - ch.qos.logback - logback-core - test - diff --git a/test/pom.xml b/test/pom.xml index fae02f61..8fc5a712 100644 --- a/test/pom.xml +++ b/test/pom.xml @@ -31,7 +31,6 @@ log4j log4j - 1.2.17 ${project.groupId} diff --git a/tools/pom.xml b/tools/pom.xml index d4bc6b75..4c1b6475 100644 --- a/tools/pom.xml +++ b/tools/pom.xml @@ -56,10 +56,6 @@ ch.qos.logback logback-classic - - ch.qos.logback - logback-core - org.apache.commons commons-lang3 -- GitLab