2021-04-01 11:06:10 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2021-04-20 10:54:38 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2021-04-01 11:06:10 +08:00
|
|
|
<parent>
|
2021-04-20 10:54:38 +08:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
|
<version>2.2.13.RELEASE</version>
|
|
|
|
|
<relativePath/>
|
2021-04-01 11:06:10 +08:00
|
|
|
</parent>
|
|
|
|
|
|
2021-04-20 10:54:38 +08:00
|
|
|
<groupId>com.fizzgate</groupId>
|
2021-04-01 11:06:10 +08:00
|
|
|
<artifactId>fizz-bootstrap</artifactId>
|
2022-02-18 09:58:51 +08:00
|
|
|
<version>2.5.2</version>
|
2021-04-01 11:06:10 +08:00
|
|
|
|
|
|
|
|
<properties>
|
2021-04-20 10:54:38 +08:00
|
|
|
<java.version>1.8</java.version>
|
2021-12-23 16:05:27 +08:00
|
|
|
<spring-framework.version>5.2.19.RELEASE</spring-framework.version>
|
2021-06-23 22:17:28 +08:00
|
|
|
<spring-session-bom.version>Dragonfruit-SR3</spring-session-bom.version>
|
2021-11-16 15:18:27 +08:00
|
|
|
<reactor-bom.version>Dysprosium-SR25</reactor-bom.version>
|
2021-04-20 10:54:38 +08:00
|
|
|
<lettuce.version>5.3.7.RELEASE</lettuce.version>
|
2022-02-09 15:45:11 +08:00
|
|
|
<netty.version>4.1.74.Final</netty.version>
|
2021-12-23 16:05:27 +08:00
|
|
|
<httpcore.version>4.4.15</httpcore.version>
|
2022-01-13 18:28:53 +08:00
|
|
|
<log4j2.version>2.17.1</log4j2.version>
|
2022-02-14 09:38:11 +08:00
|
|
|
<slf4j.version>1.7.36</slf4j.version>
|
2021-04-20 10:54:38 +08:00
|
|
|
<commons-lang3.version>3.12.0</commons-lang3.version>
|
2021-10-23 15:57:37 +08:00
|
|
|
<lombok.version>1.18.22</lombok.version>
|
2021-04-20 10:54:38 +08:00
|
|
|
<apache.dubbo.version>2.7.5</apache.dubbo.version>
|
|
|
|
|
<grpc.version>1.16.1</grpc.version>
|
|
|
|
|
<mockito.version>3.4.6</mockito.version>
|
|
|
|
|
<curator.version>4.0.1</curator.version>
|
|
|
|
|
<zookeeper.version>3.5.9</zookeeper.version>
|
2021-06-23 22:17:28 +08:00
|
|
|
<commons-codec.version>1.15</commons-codec.version>
|
2021-08-26 17:59:39 +08:00
|
|
|
<commons-pool2.version>2.11.1</commons-pool2.version>
|
2022-01-20 16:05:44 +08:00
|
|
|
<gson.version>2.8.9</gson.version>
|
2022-01-24 16:50:41 +08:00
|
|
|
<netty-tcnative.version>2.0.48.Final</netty-tcnative.version>
|
2021-11-02 17:28:02 +08:00
|
|
|
<spring-cloud.version>2.2.9.RELEASE</spring-cloud.version>
|
2021-11-08 11:38:46 +08:00
|
|
|
<resilience4j.version>1.7.1</resilience4j.version>
|
2021-12-23 16:05:27 +08:00
|
|
|
<snakeyaml.version>1.30</snakeyaml.version>
|
2021-04-01 11:06:10 +08:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
2021-11-05 01:02:05 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.lmax</groupId>
|
|
|
|
|
<artifactId>disruptor</artifactId>
|
|
|
|
|
<version>3.4.4</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-04-01 11:06:10 +08:00
|
|
|
<dependency>
|
2021-04-21 09:43:46 +08:00
|
|
|
<groupId>com.fizzgate</groupId>
|
|
|
|
|
<artifactId>fizz-common</artifactId>
|
2021-05-13 11:49:51 +08:00
|
|
|
<version>${project.version}</version>
|
2021-04-01 11:06:10 +08:00
|
|
|
</dependency>
|
2021-04-21 09:43:46 +08:00
|
|
|
|
2021-04-01 11:06:10 +08:00
|
|
|
<dependency>
|
2021-04-20 10:54:38 +08:00
|
|
|
<groupId>com.fizzgate</groupId>
|
2021-04-08 21:29:23 +08:00
|
|
|
<artifactId>fizz-spring-boot-starter</artifactId>
|
2021-05-13 11:49:51 +08:00
|
|
|
<version>${project.version}</version>
|
2021-04-01 11:06:10 +08:00
|
|
|
</dependency>
|
2021-06-29 17:50:09 +08:00
|
|
|
<!-- import fizz-input-mysql -->
|
|
|
|
|
<!-- <dependency>
|
|
|
|
|
<groupId>com.fizzgate</groupId>
|
|
|
|
|
<artifactId>fizz-input-mysql</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
2021-11-02 17:28:02 +08:00
|
|
|
</dependency> -->
|
|
|
|
|
|
2021-11-05 10:07:48 +08:00
|
|
|
<dependency>
|
2021-11-02 17:28:02 +08:00
|
|
|
<groupId>org.springframework.cloud</groupId>
|
2021-11-05 10:07:48 +08:00
|
|
|
<artifactId>spring-cloud-starter-circuitbreaker-reactor-resilience4j</artifactId>
|
2021-11-02 17:28:02 +08:00
|
|
|
<version>1.0.6.RELEASE</version>
|
2021-11-05 10:07:48 +08:00
|
|
|
</dependency>
|
2021-11-02 17:28:02 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-context</artifactId>
|
|
|
|
|
<version>${spring-cloud.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-commons</artifactId>
|
|
|
|
|
<version>${spring-cloud.version}</version>
|
|
|
|
|
</dependency>
|
2021-11-08 11:38:46 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.github.resilience4j</groupId>
|
|
|
|
|
<artifactId>resilience4j-spring-boot2</artifactId>
|
|
|
|
|
<version>${resilience4j.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.github.resilience4j</groupId>
|
|
|
|
|
<artifactId>resilience4j-circuitbreaker</artifactId>
|
|
|
|
|
<version>${resilience4j.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.github.resilience4j</groupId>
|
|
|
|
|
<artifactId>resilience4j-timelimiter</artifactId>
|
|
|
|
|
<version>${resilience4j.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.github.resilience4j</groupId>
|
|
|
|
|
<artifactId>resilience4j-reactor</artifactId>
|
|
|
|
|
<version>${resilience4j.version}</version>
|
|
|
|
|
</dependency>
|
2021-12-23 16:05:27 +08:00
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty-tcnative-classes</artifactId>
|
|
|
|
|
<version>${netty-tcnative.version}</version>
|
|
|
|
|
</dependency>
|
2021-11-02 17:28:02 +08:00
|
|
|
</dependencies>
|
2021-04-01 11:06:10 +08:00
|
|
|
|
2021-04-08 21:29:23 +08:00
|
|
|
<profiles>
|
|
|
|
|
<!--<profile>
|
|
|
|
|
<id>release</id>
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
|
<version>${maven-deploy-plugin.version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<skip>true</skip>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</profile>-->
|
|
|
|
|
</profiles>
|
|
|
|
|
|
2021-04-01 11:06:10 +08:00
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<includeSystemScope>true</includeSystemScope>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2021-05-11 17:33:35 +08:00
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>copy-resources</id>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<outputDirectory>${basedir}/target/fizz-gateway-community</outputDirectory>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>sh</directory>
|
|
|
|
|
<include>boot.sh</include>
|
2021-06-15 11:26:48 +08:00
|
|
|
<include>boot.cmd</include>
|
2021-05-11 17:33:35 +08:00
|
|
|
<filtering>true</filtering>
|
|
|
|
|
</resource>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
<include>application.yml</include>
|
2021-06-15 11:26:48 +08:00
|
|
|
<include>bootstrap.yml</include>
|
2021-05-11 17:33:35 +08:00
|
|
|
<include>log4j2-spring.xml</include>
|
|
|
|
|
<filtering>true</filtering>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>run</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<target>
|
2021-05-13 11:49:51 +08:00
|
|
|
<copy file="${basedir}/target/fizz-bootstrap-${project.version}.jar"
|
2021-05-11 17:33:35 +08:00
|
|
|
tofile="${basedir}/target/fizz-gateway-community/fizz-gateway-community.jar" />
|
|
|
|
|
</target>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2021-04-01 11:06:10 +08:00
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</project>
|