295 lines
10 KiB
XML
295 lines
10 KiB
XML
<?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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>com.xiaomayi</groupId>
|
|
<artifactId>xiaomayi-visual</artifactId>
|
|
<version>${revision}</version>
|
|
</parent>
|
|
|
|
<groupId>io.seata.server</groupId>
|
|
<artifactId>xiaomayi-seatas</artifactId>
|
|
<version>${revision}</version>
|
|
<packaging>jar</packaging>
|
|
<name>xiaomayi-seatas</name>
|
|
<url>https://seata.apache.org/zh-cn/</url>
|
|
<description>小蚂蚁云seata分布式事务</description>
|
|
|
|
<!-- 依赖版本号 -->
|
|
<properties>
|
|
<!-- JDK版本号 -->
|
|
<!-- <java.version>17</java.version>-->
|
|
<!-- seata版本号 -->
|
|
<seata.version>2.0.0</seata.version>
|
|
<!-- snakeyaml版本号 -->
|
|
<snakeyaml.version>2.0</snakeyaml.version>
|
|
<!-- spring-boot 版本号 -->
|
|
<spring-boot.version>2.7.18</spring-boot.version>
|
|
<!-- For test -->
|
|
<junit-jupiter.version>5.8.2</junit-jupiter.version>
|
|
<!-- spring-framework-for-server 依赖版本号 -->
|
|
<spring-framework-for-server.version>5.3.30</spring-framework-for-server.version>
|
|
</properties>
|
|
|
|
<!-- 依赖管理 -->
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<!-- junit5 -->
|
|
<dependency>
|
|
<groupId>org.junit</groupId>
|
|
<artifactId>junit-bom</artifactId>
|
|
<version>${junit-jupiter.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<!-- spring-framework-->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-framework-bom</artifactId>
|
|
<version>${spring-framework-for-server.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<!-- spring-boot -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
<version>${spring-boot.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-framework-bom</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.yaml</groupId>
|
|
<artifactId>snakeyaml</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<!-- 排除spring-boot中的snakeyaml后重新引入新版本 -->
|
|
<dependency>
|
|
<groupId>org.yaml</groupId>
|
|
<artifactId>snakeyaml</artifactId>
|
|
<version>${snakeyaml.version}</version>
|
|
</dependency>
|
|
|
|
<!-- seata 根依赖 -->
|
|
<dependency>
|
|
<groupId>io.seata</groupId>
|
|
<artifactId>seata-dependencies</artifactId>
|
|
<version>${seata.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<!-- 依赖声明 -->
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>log4j-to-slf4j</artifactId>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.junit.vintage</groupId>
|
|
<artifactId>junit-vintage-engine</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.seata</groupId>
|
|
<artifactId>seata-spring-autoconfigure-server</artifactId>
|
|
<version>${seata.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.seata</groupId>
|
|
<artifactId>seata-core</artifactId>
|
|
<version>${seata.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.seata</groupId>
|
|
<artifactId>seata-config-all</artifactId>
|
|
<version>${seata.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>log4j</artifactId>
|
|
<groupId>log4j</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.seata</groupId>
|
|
<artifactId>seata-discovery-all</artifactId>
|
|
<version>${seata.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.seata</groupId>
|
|
<artifactId>seata-serializer-all</artifactId>
|
|
<version>${seata.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.seata</groupId>
|
|
<artifactId>seata-compressor-all</artifactId>
|
|
<version>${seata.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.seata</groupId>
|
|
<artifactId>seata-metrics-all</artifactId>
|
|
<version>${seata.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.seata</groupId>
|
|
<artifactId>seata-console</artifactId>
|
|
<version>${seata.version}</version>
|
|
</dependency>
|
|
|
|
<!-- for database -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>druid</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-dbcp2</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.zaxxer</groupId>
|
|
<artifactId>HikariCP</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
</dependency>
|
|
<!-- if you run seata-server in IDE and use mysql8 as session store, please rewrite version to ${mysql8.jdbc.version}-->
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
</dependency>
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.mariadb.jdbc</groupId>-->
|
|
<!-- <artifactId>mariadb-java-client</artifactId>-->
|
|
<!-- <scope>provided</scope>-->
|
|
<!-- </dependency>-->
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.dameng</groupId>
|
|
<artifactId>DmJdbcDriver18</artifactId>
|
|
</dependency>
|
|
<!-- Copyright restrictions, do not reference this dependency.
|
|
You can add this dependency to the '/seata/lib' directory of the seata-server when necessary.
|
|
<dependency>
|
|
<groupId>com.oracle.ojdbc</groupId>
|
|
<artifactId>ojdbc8</artifactId>
|
|
<version>${ojdbc.version}</version>
|
|
</dependency>-->
|
|
|
|
<dependency>
|
|
<groupId>com.beust</groupId>
|
|
<artifactId>jcommander</artifactId>
|
|
</dependency>
|
|
|
|
<!-- only for event bus -->
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
</dependency>
|
|
|
|
<!-- jedis -->
|
|
<dependency>
|
|
<groupId>redis.clients</groupId>
|
|
<artifactId>jedis</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.microwww</groupId>
|
|
<artifactId>redis-server</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>fastjson</artifactId>
|
|
</dependency>
|
|
|
|
<!-- logback -->
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-core</artifactId>
|
|
</dependency>
|
|
<!-- logback appenders -->
|
|
<dependency>
|
|
<groupId>net.logstash.logback</groupId>
|
|
<artifactId>logstash-logback-encoder</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.danielwegener</groupId>
|
|
<artifactId>logback-kafka-appender</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alipay.sofa</groupId>
|
|
<artifactId>jraft-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.janino</groupId>
|
|
<artifactId>janino</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<!-- 编译打包 -->
|
|
<build>
|
|
<finalName>xiaomayi-seatas</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>${spring-boot.version}</version>
|
|
<configuration>
|
|
<mainClass>io.seata.server.XMSeataApplication</mainClass>
|
|
<!-- <layout>ZIP</layout>-->
|
|
<!-- <attach>false</attach>-->
|
|
<!-- <includes>-->
|
|
<!-- <include>-->
|
|
<!-- <groupId>null</groupId>-->
|
|
<!-- <artifactId>null</artifactId>-->
|
|
<!-- </include>-->
|
|
<!-- </includes>-->
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project> |