From 57282ad3d7bd8d2a09298f6e48fd00bd3178ab58 Mon Sep 17 00:00:00 2001 From: godotg Date: Fri, 2 Dec 2022 17:00:36 +0800 Subject: [PATCH] perf[maven]: reduce maven configuration --- boot/pom.xml | 35 +++++------- event/pom.xml | 41 +++++--------- hotswap/pom.xml | 39 +++++--------- monitor/pom.xml | 40 +++++--------- net/pom.xml | 42 +++++---------- orm/pom.xml | 41 +++++--------- pom.xml | 132 +++++----------------------------------------- protocol/pom.xml | 48 ++++++----------- scheduler/pom.xml | 41 +++++--------- storage/pom.xml | 42 +++++---------- util/pom.xml | 40 +++++--------- 11 files changed, 147 insertions(+), 394 deletions(-) diff --git a/boot/pom.xml b/boot/pom.xml index 19640cd6..f37ec4a7 100644 --- a/boot/pom.xml +++ b/boot/pom.xml @@ -10,8 +10,7 @@ jar - - + 3.0 3.0 3.0 @@ -23,48 +22,45 @@ 3.0 3.0 - + 5.3.19 2.6.7 4.12 - + 3.29.2-GA 1.12.18 - + 2.13.2 - + 4.1.84.Final 2.4.17 5.3.0 - + 5.3.0 - + 6.0.0 - + 4.7.2 2.8.8 - - 4.5.2 - + 5.2.3 1.9.0 - + 4.0.1 - + 8.4.3 - 11 UTF-8 - + 3.2.0 3.3.0 3.10.1 @@ -147,15 +143,13 @@ src/test/java - - org.apache.maven.plugins maven-clean-plugin ${maven-clean-plugin.version} - + org.apache.maven.plugins maven-compiler-plugin @@ -167,7 +161,6 @@ - org.apache.maven.plugins maven-resources-plugin @@ -193,8 +186,6 @@ - - org.apache.maven.plugins maven-surefire-plugin diff --git a/event/pom.xml b/event/pom.xml index d15617d9..e88bccc1 100644 --- a/event/pom.xml +++ b/event/pom.xml @@ -10,8 +10,7 @@ jar - - + 3.0 3.0 3.0 @@ -23,48 +22,45 @@ 3.0 3.0 - + 5.3.19 2.6.7 4.12 - + 3.29.2-GA 1.12.18 - + 2.13.2 - + 4.1.84.Final 2.4.17 5.3.0 - + 5.3.0 - + 6.0.0 - + 4.7.2 2.8.8 - - 4.5.2 - + 5.2.3 1.9.0 - + 4.0.1 - + 8.4.3 - 11 UTF-8 - + 3.2.0 3.3.0 3.10.1 @@ -78,21 +74,18 @@ - com.zfoo util ${zfoo.util.version} - org.javassist javassist ${javassist.version} - org.springframework spring-context @@ -105,7 +98,7 @@ ${spring.boot.version} provided - + junit junit @@ -119,15 +112,13 @@ src/test/java - - org.apache.maven.plugins maven-clean-plugin ${maven-clean-plugin.version} - + org.apache.maven.plugins maven-compiler-plugin @@ -139,8 +130,6 @@ - - org.apache.maven.plugins maven-resources-plugin @@ -166,8 +155,6 @@ - - org.apache.maven.plugins maven-surefire-plugin diff --git a/hotswap/pom.xml b/hotswap/pom.xml index 86c08d7c..03380b09 100644 --- a/hotswap/pom.xml +++ b/hotswap/pom.xml @@ -10,8 +10,7 @@ jar - - + 3.0 3.0 3.0 @@ -23,48 +22,45 @@ 3.0 3.0 - + 5.3.19 2.6.7 4.12 - + 3.29.2-GA 1.12.18 - + 2.13.2 - + 4.1.84.Final 2.4.17 5.3.0 - + 5.3.0 - + 6.0.0 - + 4.7.2 2.8.8 - - 4.5.2 - + 5.2.3 1.9.0 - + 4.0.1 - + 8.4.3 - 11 UTF-8 - + 3.2.0 3.3.0 3.10.1 @@ -78,7 +74,6 @@ - com.zfoo util @@ -91,7 +86,6 @@ ${zfoo.scheduler.version} - org.javassist javassist @@ -116,6 +110,7 @@ ${spring.boot.version} provided + junit junit @@ -129,15 +124,12 @@ src/test/java - - org.apache.maven.plugins maven-clean-plugin ${maven-clean-plugin.version} - org.apache.maven.plugins maven-compiler-plugin @@ -149,8 +141,6 @@ - - org.apache.maven.plugins maven-resources-plugin @@ -176,8 +166,6 @@ - - org.apache.maven.plugins maven-surefire-plugin @@ -199,7 +187,6 @@ - diff --git a/monitor/pom.xml b/monitor/pom.xml index 026327e2..2997e50c 100644 --- a/monitor/pom.xml +++ b/monitor/pom.xml @@ -10,8 +10,7 @@ jar - - + 3.0 3.0 3.0 @@ -23,48 +22,45 @@ 3.0 3.0 - + 5.3.19 2.6.7 4.12 - + 3.29.2-GA 1.12.18 - + 2.13.2 - + 4.1.84.Final 2.4.17 5.3.0 - + 5.3.0 - + 6.0.0 - + 4.7.2 2.8.8 - - 4.5.2 - + 5.2.3 1.9.0 - + 4.0.1 - + 8.4.3 - 11 UTF-8 - + 3.2.0 3.3.0 3.10.1 @@ -78,14 +74,12 @@ - com.zfoo util ${zfoo.util.version} - com.github.oshi oshi-core @@ -110,7 +104,7 @@ ${spring.boot.version} provided - + junit junit @@ -124,15 +118,12 @@ src/test/java - - org.apache.maven.plugins maven-clean-plugin ${maven-clean-plugin.version} - org.apache.maven.plugins maven-compiler-plugin @@ -144,8 +135,6 @@ - - org.apache.maven.plugins maven-resources-plugin @@ -171,8 +160,6 @@ - - org.apache.maven.plugins maven-surefire-plugin @@ -189,7 +176,6 @@ maven-jar-plugin ${maven-jar-plugin.version} - diff --git a/net/pom.xml b/net/pom.xml index 725321d2..1a834d30 100644 --- a/net/pom.xml +++ b/net/pom.xml @@ -10,8 +10,7 @@ jar - - + 3.0 3.0 3.0 @@ -23,48 +22,45 @@ 3.0 3.0 - + 5.3.19 2.6.7 4.12 - + 3.29.2-GA 1.12.18 - + 2.13.2 - + 4.1.84.Final 2.4.17 5.3.0 - + 5.3.0 - + 6.0.0 - + 4.7.2 2.8.8 - - 4.5.2 - + 5.2.3 1.9.0 - + 4.0.1 - + 8.4.3 - 11 UTF-8 - + 3.2.0 3.3.0 3.10.1 @@ -121,15 +117,12 @@ ${netty.version} - org.javassist javassist ${javassist.version} - - org.apache.curator curator-recipes @@ -150,14 +143,12 @@ - com.github.ben-manes.caffeine caffeine ${caffeine.version} - org.springframework spring-context @@ -170,7 +161,7 @@ ${spring.boot.version} provided - + junit junit @@ -184,15 +175,13 @@ src/test/java - - org.apache.maven.plugins maven-clean-plugin ${maven-clean-plugin.version} - + org.apache.maven.plugins maven-compiler-plugin @@ -204,7 +193,6 @@ - org.apache.maven.plugins maven-resources-plugin @@ -230,8 +218,6 @@ - - org.apache.maven.plugins maven-surefire-plugin diff --git a/orm/pom.xml b/orm/pom.xml index 4641af7a..aa18c006 100644 --- a/orm/pom.xml +++ b/orm/pom.xml @@ -10,8 +10,7 @@ jar - - + 3.0 3.0 3.0 @@ -23,48 +22,45 @@ 3.0 3.0 - + 5.3.19 2.6.7 4.12 - + 3.29.2-GA 1.12.18 - + 2.13.2 - + 4.1.84.Final 2.4.17 5.3.0 - + 5.3.0 - + 6.0.0 - + 4.7.2 2.8.8 - - 4.5.2 - + 5.2.3 1.9.0 - + 4.0.1 - + 8.4.3 - 11 UTF-8 - + 3.2.0 3.3.0 3.10.1 @@ -103,21 +99,18 @@ ${mongodb-driver-sync.version} - com.github.ben-manes.caffeine caffeine ${caffeine.version} - org.javassist javassist ${javassist.version} - org.springframework spring-context @@ -130,7 +123,7 @@ ${spring.boot.version} provided - + junit junit @@ -144,15 +137,12 @@ src/test/java - - org.apache.maven.plugins maven-clean-plugin ${maven-clean-plugin.version} - org.apache.maven.plugins maven-compiler-plugin @@ -164,8 +154,6 @@ - - org.apache.maven.plugins maven-resources-plugin @@ -191,8 +179,6 @@ - - org.apache.maven.plugins maven-surefire-plugin @@ -209,7 +195,6 @@ maven-jar-plugin ${maven-jar-plugin.version} - diff --git a/pom.xml b/pom.xml index 6eee3a5b..50f38962 100644 --- a/pom.xml +++ b/pom.xml @@ -21,8 +21,6 @@ - - boot event @@ -37,7 +35,6 @@ - 3.0 3.0 3.0 @@ -49,48 +46,45 @@ 3.0 3.0 - + 5.3.19 2.6.7 4.12 - + 3.29.2-GA 1.12.18 - + 2.13.2 - + 4.1.84.Final 2.4.17 5.3.0 - + 5.3.0 - + 6.0.0 - + 4.7.2 2.8.8 - - 4.5.2 - + 5.2.3 1.9.0 - + 4.0.1 - + 8.4.3 - 11 UTF-8 - + 3.2.0 3.3.0 3.10.1 @@ -104,114 +98,12 @@ - - src/main/java - src/test/java - - - - - src/main/resources - - **/*.* - - - - - - - - + org.apache.maven.plugins maven-clean-plugin ${maven-clean-plugin.version} - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - ${java.version} - ${java.version} - ${file.encoding} - - - - - - - - - org.apache.maven.plugins - maven-resources-plugin - ${maven-resources-plugin.version} - - - copy-resources - - package - - copy-resources - - - ${file.encoding} - - ${project.build.directory}/resource - - - - - src/main/resources/ - - - false - - - - - - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - once - 10 - -Dfile.encoding=${file.encoding} - - - - - - - - - org.codehaus.mojo - versions-maven-plugin - ${versions-maven-plugin.version} - - false - - - - diff --git a/protocol/pom.xml b/protocol/pom.xml index cb632c0d..70656158 100644 --- a/protocol/pom.xml +++ b/protocol/pom.xml @@ -10,8 +10,7 @@ jar - - + 3.0 3.0 3.0 @@ -23,48 +22,45 @@ 3.0 3.0 - + 5.3.19 2.6.7 4.12 - + 3.29.2-GA 1.12.18 - + 2.13.2 - + 4.1.84.Final 2.4.17 5.3.0 - + 5.3.0 - + 6.0.0 - + 4.7.2 2.8.8 - - 4.5.2 - + 5.2.3 1.9.0 - + 4.0.1 - + 8.4.3 - 11 UTF-8 - + 3.2.0 3.3.0 3.10.1 @@ -78,21 +74,19 @@ - io.netty netty-buffer ${netty.version} - org.javassist javassist ${javassist.version} - + com.fasterxml.jackson.core jackson-annotations @@ -109,21 +103,20 @@ ${jackson.version} - + com.fasterxml.jackson.dataformat jackson-dataformat-xml ${jackson.version} - + com.fasterxml.jackson.module jackson-module-afterburner ${jackson.version} - com.baidu jprotobuf @@ -136,8 +129,6 @@ - - com.esotericsoftware kryo @@ -151,7 +142,7 @@ ${spring.boot.version} provided - + junit junit @@ -165,15 +156,12 @@ src/test/java - - org.apache.maven.plugins maven-clean-plugin ${maven-clean-plugin.version} - org.apache.maven.plugins maven-compiler-plugin @@ -185,7 +173,6 @@ - org.apache.maven.plugins maven-resources-plugin @@ -211,8 +198,6 @@ - - org.apache.maven.plugins maven-surefire-plugin @@ -232,5 +217,4 @@ - diff --git a/scheduler/pom.xml b/scheduler/pom.xml index 5f924e39..379f4e15 100644 --- a/scheduler/pom.xml +++ b/scheduler/pom.xml @@ -10,8 +10,7 @@ jar - - + 3.0 3.0 3.0 @@ -23,48 +22,45 @@ 3.0 3.0 - + 5.3.19 2.6.7 4.12 - + 3.29.2-GA 1.12.18 - + 2.13.2 - + 4.1.84.Final 2.4.17 5.3.0 - + 5.3.0 - + 6.0.0 - + 4.7.2 2.8.8 - - 4.5.2 - + 5.2.3 1.9.0 - + 4.0.1 - + 8.4.3 - 11 UTF-8 - + 3.2.0 3.3.0 3.10.1 @@ -78,21 +74,18 @@ - com.zfoo util ${zfoo.util.version} - org.javassist javassist ${javassist.version} - org.springframework spring-context @@ -105,7 +98,7 @@ ${spring.boot.version} provided - + junit junit @@ -119,15 +112,12 @@ src/test/java - - org.apache.maven.plugins maven-clean-plugin ${maven-clean-plugin.version} - org.apache.maven.plugins maven-compiler-plugin @@ -139,8 +129,6 @@ - - org.apache.maven.plugins maven-resources-plugin @@ -166,8 +154,6 @@ - - org.apache.maven.plugins maven-surefire-plugin @@ -184,7 +170,6 @@ maven-jar-plugin ${maven-jar-plugin.version} - diff --git a/storage/pom.xml b/storage/pom.xml index 634fd40b..068ac5b8 100644 --- a/storage/pom.xml +++ b/storage/pom.xml @@ -10,8 +10,7 @@ jar - - + 3.0 3.0 3.0 @@ -23,48 +22,45 @@ 3.0 3.0 - + 5.3.19 2.6.7 4.12 - + 3.29.2-GA 1.12.18 - + 2.13.2 - + 4.1.84.Final 2.4.17 5.3.0 - + 5.3.0 - + 6.0.0 - + 4.7.2 2.8.8 - - 4.5.2 - + 5.2.3 1.9.0 - + 4.0.1 - + 8.4.3 - 11 UTF-8 - + 3.2.0 3.3.0 3.10.1 @@ -90,16 +86,13 @@ ${zfoo.util.version} - org.springframework spring-context ${spring.version} - - + org.apache.poi poi @@ -142,7 +135,7 @@ ${spring.boot.version} provided - + junit junit @@ -157,15 +150,12 @@ src/test/java - - org.apache.maven.plugins maven-clean-plugin ${maven-clean-plugin.version} - org.apache.maven.plugins maven-compiler-plugin @@ -177,8 +167,6 @@ - - org.apache.maven.plugins maven-resources-plugin @@ -204,8 +192,6 @@ - - org.apache.maven.plugins maven-surefire-plugin diff --git a/util/pom.xml b/util/pom.xml index 8767d14a..b3145ee0 100644 --- a/util/pom.xml +++ b/util/pom.xml @@ -10,8 +10,7 @@ jar - - + 3.0 3.0 3.0 @@ -23,48 +22,45 @@ 3.0 3.0 - + 5.3.19 2.6.7 4.12 - + 3.29.2-GA 1.12.18 - + 2.13.2 - + 4.1.84.Final 2.4.17 5.3.0 - + 5.3.0 - + 6.0.0 - + 4.7.2 2.8.8 - - 4.5.2 - + 5.2.3 1.9.0 - + 4.0.1 - + 8.4.3 - 11 UTF-8 - + 3.2.0 3.3.0 3.10.1 @@ -84,14 +80,12 @@ ${zfoo.protocol.version} - org.springframework spring-context ${spring.version} - org.springframework spring-expression @@ -105,7 +99,6 @@ provided - junit junit @@ -119,15 +112,12 @@ src/test/java - - org.apache.maven.plugins maven-clean-plugin ${maven-clean-plugin.version} - org.apache.maven.plugins maven-compiler-plugin @@ -139,8 +129,6 @@ - - org.apache.maven.plugins maven-resources-plugin @@ -166,8 +154,6 @@ - - org.apache.maven.plugins maven-surefire-plugin @@ -184,9 +170,7 @@ maven-jar-plugin ${maven-jar-plugin.version} - -