2019-02-21 20:12:29 +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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
2020-04-11 23:13:00 +08:00
|
|
|
<version>2.2.4.RELEASE</version>
|
2019-02-21 20:12:29 +08:00
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>cn.iocoder.mall</groupId>
|
2019-05-06 21:07:19 +08:00
|
|
|
<artifactId>onemall</artifactId>
|
2019-02-21 20:12:29 +08:00
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<modules>
|
|
|
|
<module>product</module>
|
2019-02-23 00:41:24 +08:00
|
|
|
<module>order</module>
|
2019-02-25 18:20:30 +08:00
|
|
|
<module>user</module>
|
|
|
|
<module>common</module>
|
2019-05-04 16:53:11 +08:00
|
|
|
<module>system</module>
|
2019-03-08 01:43:32 +08:00
|
|
|
<module>ops</module>
|
2019-03-11 19:27:15 +08:00
|
|
|
<module>pay</module>
|
2019-03-30 21:57:01 +08:00
|
|
|
<module>promotion</module>
|
2019-04-24 00:32:09 +08:00
|
|
|
<module>search</module>
|
2019-09-19 20:16:26 +08:00
|
|
|
<module>demo</module>
|
2020-04-20 08:29:09 +08:00
|
|
|
<module>mall-dependencies</module>
|
2019-02-21 20:12:29 +08:00
|
|
|
</modules>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
2019-04-06 20:10:13 +08:00
|
|
|
<properties>
|
2020-04-11 23:13:00 +08:00
|
|
|
<springboot.version>2.2.4.RELEASE</springboot.version>
|
|
|
|
<spring-boot-admin-starter-client.version>2.2.2</spring-boot-admin-starter-client.version>
|
2019-04-30 21:32:05 +08:00
|
|
|
<!-- <com.alibab.dubbo.version>2.6.5</com.alibab.dubbo.version>-->
|
2020-04-11 23:13:00 +08:00
|
|
|
<dubbo.version>2.7.4.1</dubbo.version>
|
2019-05-12 18:47:45 +08:00
|
|
|
<mysql-connector-java.version>5.1.46</mysql-connector-java.version>
|
2019-05-12 20:44:52 +08:00
|
|
|
<druid.version>1.1.16</druid.version>
|
2019-04-30 21:32:05 +08:00
|
|
|
<!-- <dubbo-spring-boot-starter.version>0.2.1.RELEASE</dubbo-spring-boot-starter.version>-->
|
2019-04-06 20:10:13 +08:00
|
|
|
<org.mapstruct.version>1.3.0.Final</org.mapstruct.version>
|
2019-04-30 21:32:05 +08:00
|
|
|
<curator.version>2.13.0</curator.version>
|
2019-05-07 01:58:07 +08:00
|
|
|
<!-- <curator.version>4.0.1</curator.version>-->
|
|
|
|
<!-- <zookeeper.version>3.4.14</zookeeper.version>-->
|
2019-05-15 20:18:09 +08:00
|
|
|
<swagger.version>1.5.21</swagger.version>
|
2019-04-06 20:54:46 +08:00
|
|
|
<springfox-swagger.version>2.9.2</springfox-swagger.version>
|
2019-05-10 18:47:29 +08:00
|
|
|
<swagger-bootstrap-ui.version>1.9.3</swagger-bootstrap-ui.version>
|
2019-04-06 20:54:46 +08:00
|
|
|
<mybatis-spring-boot-starter.version>2.0.0</mybatis-spring-boot-starter.version>
|
2019-05-11 18:12:22 +08:00
|
|
|
<mybatis.version>3.5.1</mybatis.version>
|
2019-05-11 01:20:01 +08:00
|
|
|
<mybatis-plus.version>3.1.1</mybatis-plus.version>
|
2019-04-06 20:54:46 +08:00
|
|
|
<xxl-job.version>2.0.1</xxl-job.version>
|
|
|
|
<guava.version>27.0.1-jre</guava.version>
|
2019-04-06 20:37:58 +08:00
|
|
|
|
|
|
|
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
|
|
|
|
<org.projectlombok.version>1.16.14</org.projectlombok.version>
|
|
|
|
|
2019-05-01 23:08:01 +08:00
|
|
|
<qiniu.version>7.2.18</qiniu.version>
|
|
|
|
|
2019-05-13 19:34:43 +08:00
|
|
|
<servlet.version>2.5</servlet.version>
|
|
|
|
|
2020-04-20 11:36:44 +08:00
|
|
|
<!-- 短信平台 阿里云、云片 -->
|
|
|
|
<yunpian-java-sdk.version>1.2.7</yunpian-java-sdk.version>
|
|
|
|
<aliyun-java-sdk-core.version>4.1.0</aliyun-java-sdk-core.version>
|
|
|
|
|
2019-04-06 20:37:58 +08:00
|
|
|
<java.version>1.8</java.version>
|
2019-05-13 22:59:47 +08:00
|
|
|
<hibernate-validator.version>6.0.16.Final</hibernate-validator.version>
|
|
|
|
<fastjson.version>1.2.56</fastjson.version>
|
2019-04-06 20:10:13 +08:00
|
|
|
</properties>
|
|
|
|
|
2019-03-09 00:50:19 +08:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
2019-05-13 22:59:47 +08:00
|
|
|
<!-- Spring 核心 -->
|
2019-05-13 19:09:18 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
|
|
<version>${springboot.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Web 相关 -->
|
2019-05-13 19:34:43 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<version>${servlet.version}</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
2019-05-13 19:09:18 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
<version>${springboot.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2019-05-15 20:18:09 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.swagger</groupId>
|
|
|
|
<artifactId>swagger-annotations</artifactId>
|
|
|
|
<version>${swagger.version}</version>
|
|
|
|
</dependency>
|
2019-05-13 19:09:18 +08:00
|
|
|
<dependency>
|
2019-05-13 19:34:43 +08:00
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
|
|
<version>${springfox-swagger.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
|
|
<version>${springfox-swagger.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
|
|
<artifactId>swagger-bootstrap-ui</artifactId>
|
|
|
|
<version>${swagger-bootstrap-ui.version}</version>
|
2019-05-13 19:09:18 +08:00
|
|
|
</dependency>
|
2019-04-30 21:32:05 +08:00
|
|
|
|
2019-05-13 19:09:18 +08:00
|
|
|
<!-- RPC 相关 -->
|
2019-03-09 00:50:19 +08:00
|
|
|
<dependency>
|
2019-04-30 21:32:05 +08:00
|
|
|
<groupId>org.apache.dubbo</groupId>
|
2019-03-09 00:50:19 +08:00
|
|
|
<artifactId>dubbo</artifactId>
|
2019-04-30 21:32:05 +08:00
|
|
|
<version>${dubbo.version}</version>
|
2019-04-06 20:10:13 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2019-04-30 21:32:05 +08:00
|
|
|
<groupId>org.apache.dubbo</groupId>
|
2019-04-06 20:10:13 +08:00
|
|
|
<artifactId>dubbo-spring-boot-starter</artifactId>
|
2019-04-30 21:32:05 +08:00
|
|
|
<version>${dubbo.version}</version>
|
2019-03-09 00:50:19 +08:00
|
|
|
</dependency>
|
2019-03-11 00:19:50 +08:00
|
|
|
|
2019-05-13 19:09:18 +08:00
|
|
|
<!-- DB 相关 -->
|
2019-03-11 00:19:50 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
2019-04-06 20:10:13 +08:00
|
|
|
<version>${mysql-connector-java.version}</version>
|
2019-03-11 00:19:50 +08:00
|
|
|
</dependency>
|
2019-05-13 19:09:18 +08:00
|
|
|
|
2019-05-12 20:44:52 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>druid-spring-boot-starter</artifactId>
|
|
|
|
<version>${druid.version}</version>
|
|
|
|
</dependency>
|
2019-04-06 20:10:13 +08:00
|
|
|
|
2019-05-11 18:12:22 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
|
<artifactId>mybatis</artifactId>
|
|
|
|
<version>${mybatis.version}</version>
|
|
|
|
</dependency>
|
2019-04-06 20:54:46 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
|
<version>${mybatis-spring-boot-starter.version}</version>
|
|
|
|
</dependency>
|
2019-05-15 00:34:08 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
<artifactId>mybatis-plus-annotation</artifactId>
|
|
|
|
<version>${mybatis-plus.version}</version>
|
|
|
|
</dependency>
|
2019-05-15 20:18:09 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
<artifactId>mybatis-plus-core</artifactId>
|
|
|
|
<version>${mybatis-plus.version}</version>
|
|
|
|
</dependency>
|
2019-05-11 01:20:01 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
<version>${mybatis-plus.version}</version>
|
2019-05-13 19:34:43 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2019-05-11 01:20:01 +08:00
|
|
|
</dependency>
|
2019-04-06 20:54:46 +08:00
|
|
|
|
2019-05-13 19:09:18 +08:00
|
|
|
<!-- Job 相关 -->
|
2019-04-06 20:54:46 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.xuxueli</groupId>
|
|
|
|
<artifactId>xxl-job-core</artifactId>
|
|
|
|
<version>${xxl-job.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2020-04-20 11:36:44 +08:00
|
|
|
<!-- 短信平台 阿里云、云片 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.yunpian.sdk</groupId>
|
|
|
|
<artifactId>yunpian-java-sdk</artifactId>
|
|
|
|
<version>${yunpian-java-sdk.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
|
<artifactId>aliyun-java-sdk-core</artifactId>
|
|
|
|
<version>${aliyun-java-sdk-core.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2019-05-13 19:09:18 +08:00
|
|
|
<!-- 云服务相关 -->
|
2019-05-01 23:08:01 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.qiniu</groupId>
|
|
|
|
<artifactId>qiniu-java-sdk</artifactId>
|
|
|
|
<version>${qiniu.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2020-04-14 20:10:40 +08:00
|
|
|
|
2019-05-13 22:59:47 +08:00
|
|
|
|
2019-05-13 19:34:43 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>de.codecentric</groupId>
|
|
|
|
<artifactId>spring-boot-admin-starter-client</artifactId>
|
|
|
|
<version>${spring-boot-admin-starter-client.version}</version>
|
|
|
|
</dependency>
|
2019-05-18 20:25:07 +08:00
|
|
|
|
2019-05-13 19:34:43 +08:00
|
|
|
<!-- Test 相关 -->
|
|
|
|
|
2019-05-13 22:59:47 +08:00
|
|
|
<!--- 日志相关 -->
|
|
|
|
|
2019-05-13 19:09:18 +08:00
|
|
|
<!-- 工具类相关 -->
|
2019-05-10 18:47:29 +08:00
|
|
|
<dependency>
|
2019-05-13 19:09:18 +08:00
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
|
<artifactId>mapstruct</artifactId> <!-- use mapstruct-jdk8 for Java 8 or higher -->
|
|
|
|
<version>${org.mapstruct.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
|
<artifactId>mapstruct-jdk8</artifactId>
|
|
|
|
<version>${org.mapstruct.version}</version>
|
2019-05-10 18:47:29 +08:00
|
|
|
</dependency>
|
|
|
|
|
2019-05-11 18:12:22 +08:00
|
|
|
<dependency>
|
2019-05-13 19:09:18 +08:00
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>${org.projectlombok.version}</version>
|
2019-05-11 18:12:22 +08:00
|
|
|
</dependency>
|
2019-05-13 19:09:18 +08:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>${guava.version}</version>
|
2019-05-11 18:12:22 +08:00
|
|
|
</dependency>
|
2019-05-13 22:59:47 +08:00
|
|
|
|
|
|
|
<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-databind</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-validator</artifactId>
|
|
|
|
<version>${hibernate-validator.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
<version>${fastjson.version}</version>
|
|
|
|
</dependency>
|
2019-05-11 18:12:22 +08:00
|
|
|
|
2019-03-09 00:50:19 +08:00
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<!--<distributionManagement>-->
|
|
|
|
<!--<snapshotRepository>-->
|
|
|
|
<!--<id>apache-snapshots</id>-->
|
|
|
|
<!--<url>http://repository.apache.org/snapshots/</url>-->
|
|
|
|
<!--</snapshotRepository>-->
|
|
|
|
<!--</distributionManagement>-->
|
|
|
|
|
2019-04-06 20:37:58 +08:00
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
2019-04-06 21:37:27 +08:00
|
|
|
<!-- 提供给 mapstruct 使用 -->
|
2019-04-06 20:37:58 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<source>${java.version}</source> <!-- or higher, depending on your project -->
|
|
|
|
<target>${java.version}</target> <!-- or higher, depending on your project -->
|
|
|
|
<annotationProcessorPaths>
|
|
|
|
<path>
|
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
|
<artifactId>mapstruct-processor</artifactId>
|
|
|
|
<version>${org.mapstruct.version}</version>
|
|
|
|
</path>
|
|
|
|
<path>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>${org.projectlombok.version}</version>
|
|
|
|
</path>
|
|
|
|
</annotationProcessorPaths>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-04-06 21:37:27 +08:00
|
|
|
|
|
|
|
<!-- 打包 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<fork>true</fork>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-04-06 20:37:58 +08:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
2019-03-09 00:50:19 +08:00
|
|
|
|
2019-04-06 20:10:13 +08:00
|
|
|
</project>
|