172 lines
5.7 KiB
XML
172 lines
5.7 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>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||
|
<version>2.1.8.RELEASE</version>
|
||
|
<relativePath/> <!-- lookup parent from repository -->
|
||
|
</parent>
|
||
|
<groupId>com.xunqi.gulimall</groupId>
|
||
|
<artifactId>gulimall-product</artifactId>
|
||
|
<version>0.0.1-SNAPSHOT</version>
|
||
|
<name>gulimall-product</name>
|
||
|
<description>谷粒商城-商品服务</description>
|
||
|
|
||
|
<properties>
|
||
|
<java.version>1.8</java.version>
|
||
|
<spring-cloud.version>Greenwich.SR3</spring-cloud.version>
|
||
|
</properties>
|
||
|
|
||
|
<dependencies>
|
||
|
|
||
|
<!-- https://mvnrepository.com/artifact/com.aliyun.oss/aliyun-sdk-oss -->
|
||
|
<dependency>
|
||
|
<groupId>com.aliyun.oss</groupId>
|
||
|
<artifactId>aliyun-sdk-oss</artifactId>
|
||
|
<version>3.5.0</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- https://mvnrepository.com/artifact/org.jdom/jdom -->
|
||
|
<dependency>
|
||
|
<groupId>org.jdom</groupId>
|
||
|
<artifactId>jdom</artifactId>
|
||
|
<version>1.1</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>com.xunqi.gulimall</groupId>
|
||
|
<artifactId>gulimall-common</artifactId>
|
||
|
<version>0.0.1-SNAPSHOT</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-web</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.cloud</groupId>
|
||
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-test</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- 模板引擎 -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-devtools -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-devtools</artifactId>
|
||
|
<optional>true</optional>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- 引入redis -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>io.lettuce</groupId>
|
||
|
<artifactId>lettuce-core</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>redis.clients</groupId>
|
||
|
<artifactId>jedis</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- 以后使用Redisson作为所有分布式锁 -->
|
||
|
<dependency>
|
||
|
<groupId>org.redisson</groupId>
|
||
|
<artifactId>redisson</artifactId>
|
||
|
<version>3.12.0</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-cache</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
|
<optional>true</optional>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- 整合springsession -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.session</groupId>
|
||
|
<artifactId>spring-session-data-redis</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>com.alibaba.cloud</groupId>
|
||
|
<artifactId>spring-cloud-starter-alibaba-seata</artifactId>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>io.seata</groupId>
|
||
|
<artifactId>seata-all</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>io.seata</groupId>
|
||
|
<artifactId>seata-all</artifactId>
|
||
|
<version>0.9.0</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
|
||
|
<!-- <dependency>-->
|
||
|
<!-- <groupId>com.alibaba.cloud</groupId>-->
|
||
|
<!-- <artifactId>spring-cloud-starter-alicloud-oss</artifactId>-->
|
||
|
<!-- </dependency>-->
|
||
|
|
||
|
</dependencies>
|
||
|
|
||
|
<dependencyManagement>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>com.alibaba.cloud</groupId>
|
||
|
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
||
|
<version>2.1.0.RELEASE</version>
|
||
|
<type>pom</type>
|
||
|
<scope>import</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.cloud</groupId>
|
||
|
<artifactId>spring-cloud-dependencies</artifactId>
|
||
|
<version>${spring-cloud.version}</version>
|
||
|
<type>pom</type>
|
||
|
<scope>import</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
</dependencyManagement>
|
||
|
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</project>
|