mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-13 22:16:32 +00:00
perf[maven]: reduce maven configuration
This commit is contained in:
1 parent
6fd693f039
commit
57282ad3d7
11 files changed
+147
-394
No files matched your search
+16
-32
@@ -10,8 +10,7 @@
|
||||
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<properties>
|
||||
<!-- 本项目的其它module版本号 -->
|
||||
<properties>
|
||||
<zfoo.boot.version>3.0</zfoo.boot.version>
|
||||
<zfoo.event.version>3.0</zfoo.event.version>
|
||||
<zfoo.hotswap.version>3.0</zfoo.hotswap.version>
|
||||
@@ -23,48 +22,45 @@
|
||||
<zfoo.protocol.version>3.0</zfoo.protocol.version>
|
||||
<zfoo.util.version>3.0</zfoo.util.version>
|
||||
|
||||
<!-- 核心spring框架,优先使用spring boot的日志版本 -->
|
||||
<!-- spring and spring boot -->
|
||||
<spring.version>5.3.19</spring.version>
|
||||
<spring.boot.version>2.6.7</spring.boot.version>
|
||||
<junit.version>4.12</junit.version>
|
||||
|
||||
<!-- 字节码增强 -->
|
||||
<!-- bytecode enhancement(字节码增强) -->
|
||||
<javassist.version>3.29.2-GA</javassist.version>
|
||||
<bytebuddy.version>1.12.18</bytebuddy.version>
|
||||
<!-- json和xml解析包,优先使用spring boot的版本 -->
|
||||
<!-- json and xml, use the version of spring boot first -->
|
||||
<jackson.version>2.13.2</jackson.version>
|
||||
<!-- 网络通讯框架 -->
|
||||
<!-- network framework -->
|
||||
<netty.version>4.1.84.Final</netty.version>
|
||||
<jprotobuf.version>2.4.17</jprotobuf.version>
|
||||
<kryo.version>5.3.0</kryo.version>
|
||||
|
||||
<!-- 分布式zookeeper核心依赖包 -->
|
||||
<!-- zookeeper -->
|
||||
<curator.version>5.3.0</curator.version>
|
||||
|
||||
<!-- 硬件检测 -->
|
||||
<!-- hardware detection(硬件检测) -->
|
||||
<oshi.version>6.0.0</oshi.version>
|
||||
|
||||
<!-- 数据库和缓存 -->
|
||||
<!-- database and cache -->
|
||||
<mongodb-driver-sync.version>4.7.2</mongodb-driver-sync.version>
|
||||
<caffeine.version>2.8.8</caffeine.version>
|
||||
<!-- 消息队列中间件 -->
|
||||
<rocketmq.version>4.5.2</rocketmq.version>
|
||||
|
||||
<!-- office文档解析包 -->
|
||||
<!-- Office document parsing(office文档解析包) -->
|
||||
<poi.version>5.2.3</poi.version>
|
||||
<csv.version>1.9.0</csv.version>
|
||||
|
||||
<!-- 工具包 -->
|
||||
<!-- Toolkit(工具包) -->
|
||||
<jctools.version>4.0.1</jctools.version>
|
||||
|
||||
<!-- elastic search 中间件 -->
|
||||
<!-- elastic search -->
|
||||
<elastic.search.version>8.4.3</elastic.search.version>
|
||||
|
||||
<!-- java版本和文件编码 -->
|
||||
<java.version>11</java.version>
|
||||
<file.encoding>UTF-8</file.encoding>
|
||||
|
||||
<!-- maven核心插件 -->
|
||||
<!-- maven core plugin(maven核心插件) -->
|
||||
<maven-clean-plugin.version>3.2.0</maven-clean-plugin.version>
|
||||
<maven-resources-plugin.version>3.3.0</maven-resources-plugin.version>
|
||||
<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
|
||||
@@ -78,21 +74,19 @@
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!-- 依赖的通信类库,只使用到了ByteBuf,为了方便全部引入 -->
|
||||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-buffer</artifactId>
|
||||
<version>${netty.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 动态生成字节码的javassist类库,用于协议解析的字节码增强 -->
|
||||
<dependency>
|
||||
<groupId>org.javassist</groupId>
|
||||
<artifactId>javassist</artifactId>
|
||||
<version>${javassist.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Json库,使用Jackson -->
|
||||
<!-- Json library -->
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-annotations</artifactId>
|
||||
@@ -109,21 +103,20 @@
|
||||
<version>${jackson.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Jackson解析XML库 -->
|
||||
<!-- Jackson parsing XML library -->
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
||||
<artifactId>jackson-dataformat-xml</artifactId>
|
||||
<version>${jackson.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Jackson涡轮增压,字节码增加解析json,bytecode generation to replace use of Reflection for field access and method calls -->
|
||||
<!-- json,bytecode generation to replace use of Reflection for field access and method calls(Jackson涡轮增压,字节码增强解析json) -->
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.module</groupId>
|
||||
<artifactId>jackson-module-afterburner</artifactId>
|
||||
<version>${jackson.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Protobuf -->
|
||||
<dependency>
|
||||
<groupId>com.baidu</groupId>
|
||||
<artifactId>jprotobuf</artifactId>
|
||||
@@ -136,8 +129,6 @@
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- Kryo -->
|
||||
<dependency>
|
||||
<groupId>com.esotericsoftware</groupId>
|
||||
<artifactId>kryo</artifactId>
|
||||
@@ -151,7 +142,7 @@
|
||||
<version>${spring.boot.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- 依赖的测试库 -->
|
||||
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
@@ -165,15 +156,12 @@
|
||||
<testSourceDirectory>src/test/java</testSourceDirectory>
|
||||
|
||||
<plugins>
|
||||
|
||||
<!-- 清理插件 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-clean-plugin</artifactId>
|
||||
<version>${maven-clean-plugin.version}</version>
|
||||
</plugin>
|
||||
|
||||
<!-- 编译插件 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
@@ -185,7 +173,6 @@
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- resource资源管理插件 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
@@ -211,8 +198,6 @@
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
|
||||
<!-- 测试插件 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
@@ -232,5 +217,4 @@
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
||||
</project>
|
||||
Reference in new issue
Block a user