267 lines
		
	
	
		
			7.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			267 lines
		
	
	
		
			7.5 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
 | 
						||
	<modelVersion>4.0.0</modelVersion>
 | 
						||
	<parent>
 | 
						||
		<groupId>com.tuling</groupId>
 | 
						||
		<artifactId>tulingmall-sk</artifactId>
 | 
						||
		<version>0.0.5</version>
 | 
						||
	</parent>
 | 
						||
	<artifactId>tulingmall-sk-order</artifactId>
 | 
						||
	<name>tulingmall-sk-order</name>
 | 
						||
	<description>秒杀订单微服务</description>
 | 
						||
 | 
						||
	<properties>
 | 
						||
		<java.version>1.8</java.version>
 | 
						||
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
						||
	</properties>
 | 
						||
 | 
						||
	<dependencies>
 | 
						||
		<dependency>
 | 
						||
			<groupId>com.tuling</groupId>
 | 
						||
			<artifactId>tulingmall-common</artifactId>
 | 
						||
		</dependency>
 | 
						||
		<dependency>
 | 
						||
			<groupId>com.tuling</groupId>
 | 
						||
			<artifactId>tulingmall-redis-multi</artifactId>
 | 
						||
		</dependency>
 | 
						||
		<dependency>
 | 
						||
			<groupId>org.mybatis.spring.boot</groupId>
 | 
						||
			<artifactId>mybatis-spring-boot-starter</artifactId>
 | 
						||
			<version>2.1.1</version>
 | 
						||
		</dependency>
 | 
						||
		<dependency>
 | 
						||
			<groupId>mysql</groupId>
 | 
						||
			<artifactId>mysql-connector-java</artifactId>
 | 
						||
		</dependency>
 | 
						||
		<dependency>
 | 
						||
			<groupId>org.springframework.boot</groupId>
 | 
						||
			<artifactId>spring-boot-starter</artifactId>
 | 
						||
		</dependency>
 | 
						||
 | 
						||
		<!--加入springcloud alibaba-->
 | 
						||
		<dependency>
 | 
						||
			<groupId>com.alibaba.cloud</groupId>
 | 
						||
			<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
 | 
						||
		</dependency>
 | 
						||
		<dependency>
 | 
						||
			<groupId>com.alibaba.cloud</groupId>
 | 
						||
			<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
 | 
						||
		</dependency>
 | 
						||
 | 
						||
<!--		<dependency>
 | 
						||
			<groupId>com.alibaba.nacos</groupId>
 | 
						||
			<artifactId>nacos-client</artifactId>
 | 
						||
			<version>1.4.1</version>
 | 
						||
		</dependency>-->
 | 
						||
 | 
						||
		<dependency>
 | 
						||
			<groupId>org.springframework.boot</groupId>
 | 
						||
			<artifactId>spring-boot-starter-data-redis</artifactId>
 | 
						||
		</dependency>
 | 
						||
		<dependency>
 | 
						||
			<groupId>org.apache.commons</groupId>
 | 
						||
			<artifactId>commons-pool2</artifactId>
 | 
						||
			<version>2.4.3</version>
 | 
						||
		</dependency>
 | 
						||
		<!--加入redisson-->
 | 
						||
		<dependency>
 | 
						||
			<groupId>org.redisson</groupId>
 | 
						||
			<artifactId>redisson</artifactId>
 | 
						||
			<version>3.6.5</version>
 | 
						||
		</dependency>
 | 
						||
 | 
						||
		<!-- 加入rocketmq -->
 | 
						||
		<dependency>
 | 
						||
			<groupId>org.apache.rocketmq</groupId>
 | 
						||
			<artifactId>rocketmq-spring-boot-starter</artifactId>
 | 
						||
		</dependency>
 | 
						||
 | 
						||
		<dependency>
 | 
						||
			<groupId>org.springframework.cloud</groupId>
 | 
						||
			<artifactId>spring-cloud-starter-openfeign</artifactId>
 | 
						||
		</dependency>
 | 
						||
 | 
						||
		<!-- 本地缓存 -->
 | 
						||
		<dependency>
 | 
						||
			<groupId>com.github.ben-manes.caffeine</groupId>
 | 
						||
			<artifactId>caffeine</artifactId>
 | 
						||
			<version>2.9.3</version>
 | 
						||
		</dependency>
 | 
						||
 | 
						||
		<!-- sharding 分库分表-->
 | 
						||
		<dependency>
 | 
						||
			<groupId>org.apache.shardingsphere</groupId>
 | 
						||
			<artifactId>sharding-jdbc-spring-boot-starter</artifactId>
 | 
						||
			<version>4.1.1</version>
 | 
						||
		</dependency>
 | 
						||
 | 
						||
		<dependency>
 | 
						||
			<groupId>org.rocksdb</groupId>
 | 
						||
			<artifactId>rocksdbjni</artifactId>
 | 
						||
			<version>7.0.3</version>
 | 
						||
		</dependency>
 | 
						||
		<!-- transaction 2pc XA 2阶段提交分布式事务 -->
 | 
						||
<!--		<dependency>
 | 
						||
			<groupId>org.apache.shardingsphere</groupId>
 | 
						||
			<artifactId>sharding-transaction-xa-core</artifactId>
 | 
						||
			<version>4.1.1</version>
 | 
						||
			<exclusions>
 | 
						||
				<exclusion>
 | 
						||
					<artifactId>slf4j-api</artifactId>
 | 
						||
					<groupId>org.slf4j</groupId>
 | 
						||
				</exclusion>
 | 
						||
			</exclusions>
 | 
						||
		</dependency>-->
 | 
						||
 | 
						||
		<!-- Base - 基于华为servicecomb的saga柔性事务,shardingjdbc正式版之后没有进行维护,需要自己重构saga工程 -->
 | 
						||
		<!--<dependency>
 | 
						||
			<groupId>org.apache.shardingsphere</groupId>
 | 
						||
			<artifactId>sharding-jdbc-spring-boot-starter</artifactId>
 | 
						||
			<version>4.0.0-RC2</version>
 | 
						||
		</dependency>-->
 | 
						||
		<!--<dependency>
 | 
						||
			<groupId>io.shardingsphere</groupId>
 | 
						||
			<artifactId>sharding-transaction-base-saga</artifactId>
 | 
						||
			<version>4.0.0-RC2</version>
 | 
						||
		</dependency>-->
 | 
						||
 | 
						||
		<!-- seata柔性事务-增强版的saga模型 -->
 | 
						||
<!--        <dependency>-->
 | 
						||
<!--            <groupId>org.apache.shardingsphere</groupId>-->
 | 
						||
<!--            <artifactId>sharding-transaction-base-seata-at</artifactId>-->
 | 
						||
<!--            <version>4.1.1</version>-->
 | 
						||
<!--        </dependency>-->
 | 
						||
<!--		<dependency>-->
 | 
						||
<!--			<groupId>io.seata</groupId>-->
 | 
						||
<!--			<artifactId>seata-all</artifactId>-->
 | 
						||
<!--			<version>1.4.0</version>-->
 | 
						||
<!--			<exclusions>-->
 | 
						||
<!--				<exclusion>-->
 | 
						||
<!--					<artifactId>druid</artifactId>-->
 | 
						||
<!--					<groupId>com.alibaba</groupId>-->
 | 
						||
<!--				</exclusion>-->
 | 
						||
<!--			</exclusions>-->
 | 
						||
<!--		</dependency>-->
 | 
						||
 | 
						||
        <!--mybatis-->
 | 
						||
<!--		<dependency>
 | 
						||
			<groupId>com.tuling</groupId>
 | 
						||
			<artifactId>tulingmall-mbg</artifactId>
 | 
						||
			<!– 引入分库分表插件shardingsphere 后需要排除此处,单独引入druid –>
 | 
						||
			<exclusions>
 | 
						||
				<exclusion>
 | 
						||
					<artifactId>druid-spring-boot-starter</artifactId>
 | 
						||
					<groupId>com.alibaba</groupId>
 | 
						||
				</exclusion>
 | 
						||
			</exclusions>
 | 
						||
		</dependency>-->
 | 
						||
 | 
						||
		<dependency>
 | 
						||
			<groupId>com.alibaba</groupId>
 | 
						||
			<artifactId>druid</artifactId>
 | 
						||
			<version>1.1.4</version>
 | 
						||
		</dependency>
 | 
						||
 | 
						||
		<!-- 支付宝支付 -->
 | 
						||
		<dependency>
 | 
						||
			<groupId>com.alipay.sdk</groupId>
 | 
						||
			<artifactId>alipay-sdk-java</artifactId>
 | 
						||
			<version>3.3.87.ALL</version>
 | 
						||
			<exclusions>
 | 
						||
				<exclusion>
 | 
						||
					<artifactId>commons-logging</artifactId>
 | 
						||
					<groupId>commons-logging</groupId>
 | 
						||
				</exclusion>
 | 
						||
			</exclusions>
 | 
						||
		</dependency>
 | 
						||
<!--		<dependency>-->
 | 
						||
<!--			<groupId>commons-lang</groupId>-->
 | 
						||
<!--			<artifactId>commons-lang</artifactId>-->
 | 
						||
<!--			<version>2.6</version>-->
 | 
						||
<!--		</dependency>-->
 | 
						||
<!--		<dependency>-->
 | 
						||
<!--			<groupId>commons-configuration</groupId>-->
 | 
						||
<!--			<artifactId>commons-configuration</artifactId>-->
 | 
						||
<!--			<version>1.10</version>-->
 | 
						||
<!--			<exclusions>-->
 | 
						||
<!--				<exclusion>-->
 | 
						||
<!--					<artifactId>commons-logging</artifactId>-->
 | 
						||
<!--					<groupId>commons-logging</groupId>-->
 | 
						||
<!--				</exclusion>-->
 | 
						||
<!--			</exclusions>-->
 | 
						||
<!--		</dependency>-->
 | 
						||
<!--		<dependency>-->
 | 
						||
<!--			<groupId>commons-codec</groupId>-->
 | 
						||
<!--			<artifactId>commons-codec</artifactId>-->
 | 
						||
<!--			<version>1.11</version>-->
 | 
						||
<!--		</dependency>-->
 | 
						||
		<!--生成二维码-->
 | 
						||
		<dependency>
 | 
						||
			<groupId>com.google.zxing</groupId>
 | 
						||
			<artifactId>core</artifactId>
 | 
						||
			<version>3.2.1</version>
 | 
						||
		</dependency>
 | 
						||
		<!--单元测试辅助工具-->
 | 
						||
		<dependency>
 | 
						||
			<groupId>org.hamcrest</groupId>
 | 
						||
			<artifactId>hamcrest-core</artifactId>
 | 
						||
			<version>1.3</version>
 | 
						||
			<scope>test</scope>
 | 
						||
		</dependency>
 | 
						||
		<dependency>
 | 
						||
			<groupId>com.google.code.gson</groupId>
 | 
						||
			<artifactId>gson</artifactId>
 | 
						||
			<version>2.8.5</version>
 | 
						||
		</dependency>
 | 
						||
		<!--Java 验证码-->
 | 
						||
		<dependency>
 | 
						||
			<groupId>com.ramostear</groupId>
 | 
						||
			<artifactId>Happy-Captcha</artifactId>
 | 
						||
			<version>1.0.1</version>
 | 
						||
		</dependency>
 | 
						||
 | 
						||
		<!--spring-mvc的依赖-->
 | 
						||
		<dependency>
 | 
						||
			<groupId>org.springframework.boot</groupId>
 | 
						||
			<artifactId>spring-boot-starter-web</artifactId>
 | 
						||
		</dependency>
 | 
						||
 | 
						||
		<dependency>
 | 
						||
			<groupId>org.springframework.boot</groupId>
 | 
						||
			<artifactId>spring-boot-test</artifactId>
 | 
						||
			<scope>test</scope>
 | 
						||
		</dependency>
 | 
						||
		<dependency>
 | 
						||
			<groupId>junit</groupId>
 | 
						||
			<artifactId>junit</artifactId>
 | 
						||
			<version>4.13.2</version>
 | 
						||
			<scope>test</scope>
 | 
						||
		</dependency>
 | 
						||
		<dependency>
 | 
						||
			<groupId>org.springframework</groupId>
 | 
						||
			<artifactId>spring-test</artifactId>
 | 
						||
			<version>5.2.8.RELEASE</version>
 | 
						||
			<scope>test</scope>
 | 
						||
		</dependency>
 | 
						||
	</dependencies>
 | 
						||
 | 
						||
	<build>
 | 
						||
		<plugins>
 | 
						||
			<plugin>
 | 
						||
				<groupId>org.springframework.boot</groupId>
 | 
						||
				<artifactId>spring-boot-maven-plugin</artifactId>
 | 
						||
				<version>2.3.2.RELEASE</version>
 | 
						||
				<executions>
 | 
						||
					<execution>
 | 
						||
						<goals>
 | 
						||
							<goal>repackage</goal>
 | 
						||
						</goals>
 | 
						||
					</execution>
 | 
						||
				</executions>
 | 
						||
			</plugin>
 | 
						||
		</plugins>
 | 
						||
	</build>
 | 
						||
 | 
						||
</project>
 |