mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-05-17 17:00:12 +00:00
221 lines
8.4 KiB
XML
221 lines
8.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
|
||
<groupId>com.zfoo</groupId>
|
||
<artifactId>protocol</artifactId>
|
||
<version>3.0</version>
|
||
|
||
<packaging>jar</packaging>
|
||
|
||
<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>
|
||
<zfoo.monitor.version>3.0</zfoo.monitor.version>
|
||
<zfoo.net.version>3.0</zfoo.net.version>
|
||
<zfoo.scheduler.version>3.0</zfoo.scheduler.version>
|
||
<zfoo.storage.version>3.0</zfoo.storage.version>
|
||
<zfoo.orm.version>3.0</zfoo.orm.version>
|
||
<zfoo.protocol.version>3.0</zfoo.protocol.version>
|
||
<zfoo.util.version>3.0</zfoo.util.version>
|
||
|
||
<!-- 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 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 -->
|
||
<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>
|
||
|
||
<!-- 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.version>8.4.3</elastic.search.version>
|
||
|
||
<java.version>11</java.version>
|
||
<file.encoding>UTF-8</file.encoding>
|
||
|
||
<!-- 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>
|
||
<maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
|
||
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
|
||
<maven-shade-plugin.version>3.4.0</maven-shade-plugin.version>
|
||
<versions-maven-plugin.version>2.12.0</versions-maven-plugin.version>
|
||
|
||
<project.build.sourceEncoding>${file.encoding}</project.build.sourceEncoding>
|
||
<maven.compiler.encoding>${file.encoding}</maven.compiler.encoding>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>io.netty</groupId>
|
||
<artifactId>netty-buffer</artifactId>
|
||
<version>${netty.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.javassist</groupId>
|
||
<artifactId>javassist</artifactId>
|
||
<version>${javassist.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Json library -->
|
||
<dependency>
|
||
<groupId>com.fasterxml.jackson.core</groupId>
|
||
<artifactId>jackson-annotations</artifactId>
|
||
<version>${jackson.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.fasterxml.jackson.core</groupId>
|
||
<artifactId>jackson-core</artifactId>
|
||
<version>${jackson.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.fasterxml.jackson.core</groupId>
|
||
<artifactId>jackson-databind</artifactId>
|
||
<version>${jackson.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Jackson parsing XML library -->
|
||
<dependency>
|
||
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
||
<artifactId>jackson-dataformat-xml</artifactId>
|
||
<version>${jackson.version}</version>
|
||
</dependency>
|
||
|
||
<!-- 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>
|
||
|
||
<dependency>
|
||
<groupId>com.baidu</groupId>
|
||
<artifactId>jprotobuf</artifactId>
|
||
<version>${jprotobuf.version}</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<artifactId>slf4j-api</artifactId>
|
||
<groupId>org.slf4j</groupId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.esotericsoftware</groupId>
|
||
<artifactId>kryo</artifactId>
|
||
<version>${kryo.version}</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-logging</artifactId>
|
||
<version>${spring.boot.version}</version>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>junit</groupId>
|
||
<artifactId>junit</artifactId>
|
||
<version>${junit.version}</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<build>
|
||
<sourceDirectory>src/main/java</sourceDirectory>
|
||
<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>
|
||
<version>${maven-compiler-plugin.version}</version>
|
||
<configuration>
|
||
<source>${java.version}</source>
|
||
<target>${java.version}</target>
|
||
<encoding>${file.encoding}</encoding>
|
||
</configuration>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-resources-plugin</artifactId>
|
||
<version>${maven-resources-plugin.version}</version>
|
||
<executions>
|
||
<execution>
|
||
<id>copy-resources</id>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>copy-resources</goal>
|
||
</goals>
|
||
<configuration>
|
||
<encoding>${file.encoding}</encoding>
|
||
<outputDirectory>${project.build.directory}/resource</outputDirectory>
|
||
<resources>
|
||
<resource>
|
||
<directory>src/main/resources/</directory>
|
||
<filtering>false</filtering>
|
||
</resource>
|
||
</resources>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-surefire-plugin</artifactId>
|
||
<version>${maven-surefire-plugin.version}</version>
|
||
<configuration>
|
||
<forkMode>once</forkMode>
|
||
<threadCount>10</threadCount>
|
||
<argLine>-Dfile.encoding=${file.encoding}</argLine>
|
||
</configuration>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-jar-plugin</artifactId>
|
||
<version>${maven-jar-plugin.version}</version>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
</project>
|