2024-04-12 15:37:31 +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>
|
|
|
|
|
|
|
|
|
|
<groupId>net.jieyuu</groupId>
|
|
|
|
|
<artifactId>xdclass-shop</artifactId>
|
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
<modules>
|
|
|
|
|
<module>xdclass-common</module>
|
|
|
|
|
<module>xdclass-product-service</module>
|
|
|
|
|
<module>xdclass-user-service</module>
|
|
|
|
|
<module>xdclass-order-service</module>
|
|
|
|
|
<module>xdclass-coupon-service</module>
|
|
|
|
|
<module>xdclass-gateway</module>
|
|
|
|
|
</modules>
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
|
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
|
<maven.compiler.source>8</maven.compiler.source>
|
|
|
|
|
<maven.compiler.target>8</maven.compiler.target>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
|
|
|
|
|
<spring.boot.version>2.3.3.RELEASE</spring.boot.version>
|
|
|
|
|
|
|
|
|
|
<spring.cloud.version>Hoxton.SR8</spring.cloud.version>
|
|
|
|
|
<alibaba.cloud.version>2.2.1.RELEASE</alibaba.cloud.version>
|
|
|
|
|
|
|
|
|
|
<mybatisplus.boot.starter.version>3.4.0</mybatisplus.boot.starter.version>
|
|
|
|
|
<lombok.version>1.18.16</lombok.version>
|
|
|
|
|
<commons.lang3.version>3.9</commons.lang3.version>
|
|
|
|
|
<commons.codec.version>1.15</commons.codec.version>
|
|
|
|
|
<springfox.boot.starter.version>3.0.0</springfox.boot.starter.version>
|
2024-04-27 21:04:06 +08:00
|
|
|
|
<minio.version>8.2.1</minio.version>
|
|
|
|
|
|
2024-04-12 15:37:31 +08:00
|
|
|
|
|
|
|
|
|
<docker.image.prefix>xdclass-cloud</docker.image.prefix>
|
|
|
|
|
|
|
|
|
|
<!--跳过单元测试-->
|
|
|
|
|
<skipTests>true</skipTests>
|
|
|
|
|
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<!--锁定版本-->
|
|
|
|
|
<dependencyManagement>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<!--https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-dependencies/2.3.3.RELEASE-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
|
<version>${spring.boot.version}</version>
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-dependencies/Hoxton.SR8-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
|
|
|
<version>${spring.cloud.version}</version>
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--https://mvnrepository.com/artifact/com.alibaba.cloud/spring-cloud-alibaba-dependencies/2.2.1.RELEASE-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
|
|
|
|
<version>${alibaba.cloud.version}</version>
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--mybatis plus和springboot整合-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
|
<version>${mybatisplus.boot.starter.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--https://mvnrepository.com/artifact/org.projectlombok/lombok/1.18.16-->
|
|
|
|
|
<!--scope=provided,说明它只在编译阶段生效,不需要打入包中, Lombok在编译期将带Lombok注解的Java文件正确编译为完整的Class文件-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
<version>${lombok.version}</version>
|
2024-08-06 00:51:54 +08:00
|
|
|
|
<!-- <scope>provided</scope>-->
|
2024-04-12 15:37:31 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
|
<version>${commons.lang3.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
|
|
|
|
|
<!--用于加密-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
|
<version>${commons.codec.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--接口文档依赖-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
|
<artifactId>springfox-boot-starter</artifactId>
|
|
|
|
|
<version>${springfox.boot.starter.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--kaptcha依赖包-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
<artifactId>kaptcha-spring-boot-starter</artifactId>
|
|
|
|
|
<version>1.1.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2024-04-27 21:04:06 +08:00
|
|
|
|
<!--MINIO-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.minio</groupId>
|
|
|
|
|
<artifactId>minio</artifactId>
|
|
|
|
|
<version>${minio.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2024-07-01 16:39:07 +08:00
|
|
|
|
<!-- JWT相关 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt</artifactId>
|
|
|
|
|
<version>0.7.0</version>
|
|
|
|
|
</dependency>
|
2024-08-06 00:51:54 +08:00
|
|
|
|
<!-- 分布式锁 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.redisson</groupId>
|
|
|
|
|
<artifactId>redisson</artifactId>
|
|
|
|
|
<version>3.10.1</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2024-04-12 15:37:31 +08:00
|
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
|
|
<!-- 代码库 -->
|
|
|
|
|
<repositories>
|
|
|
|
|
<repository>
|
|
|
|
|
<id>maven-ali</id>
|
|
|
|
|
<url>http://maven.aliyun.com/nexus/content/groups/public//</url>
|
|
|
|
|
<releases>
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
</releases>
|
|
|
|
|
<snapshots>
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
<updatePolicy>always</updatePolicy>
|
|
|
|
|
<checksumPolicy>fail</checksumPolicy>
|
|
|
|
|
</snapshots>
|
|
|
|
|
</repository>
|
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<pluginRepositories>
|
|
|
|
|
<pluginRepository>
|
|
|
|
|
<id>public</id>
|
|
|
|
|
<name>aliyun nexus</name>
|
|
|
|
|
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
|
|
|
|
<releases>
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
</releases>
|
|
|
|
|
<snapshots>
|
|
|
|
|
<enabled>false</enabled>
|
|
|
|
|
</snapshots>
|
|
|
|
|
</pluginRepository>
|
|
|
|
|
</pluginRepositories>
|
|
|
|
|
|
|
|
|
|
<!--module不用添加打包版本信息-->
|
|
|
|
|
<build>
|
2024-11-13 15:48:20 +08:00
|
|
|
|
<!-- <plugins>-->
|
|
|
|
|
<!-- <plugin>-->
|
|
|
|
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|
|
|
|
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
|
|
|
|
|
<!-- <version>${spring.boot.version}</version>-->
|
|
|
|
|
<!-- <configuration>-->
|
|
|
|
|
<!-- <fork>true</fork>-->
|
|
|
|
|
<!-- <addResources>true</addResources>-->
|
|
|
|
|
<!-- </configuration>-->
|
|
|
|
|
<!-- </plugin>-->
|
|
|
|
|
<!-- </plugins>-->
|
2024-04-12 15:37:31 +08:00
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
</project>
|