2025-05-20 19:21:02 +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>com.heima</groupId>
|
|
|
|
<artifactId>hmall</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<modules>
|
|
|
|
<module>hm-common</module>
|
|
|
|
<module>hm-service</module>
|
|
|
|
<module>item-service</module>
|
|
|
|
<module>cart-service</module>
|
|
|
|
<module>user-service</module>
|
2025-05-22 14:37:12 +08:00
|
|
|
<module>hm-api</module>
|
2025-05-22 16:32:45 +08:00
|
|
|
<module>trade-service</module>
|
|
|
|
<module>pay-service</module>
|
2025-05-24 22:24:52 +08:00
|
|
|
<module>hm-gateway</module>
|
2025-05-20 19:21:02 +08:00
|
|
|
</modules>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
<version>2.7.12</version>
|
|
|
|
<relativePath/>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<org.projectlombok.version>1.18.20</org.projectlombok.version>
|
|
|
|
<spring-cloud.version>2021.0.3</spring-cloud.version>
|
|
|
|
<spring-cloud-alibaba.version>2021.0.4.0</spring-cloud-alibaba.version>
|
|
|
|
<mybatis-plus.version>3.5.2</mybatis-plus.version>
|
|
|
|
<hutool.version>5.8.11</hutool.version>
|
2025-05-24 22:24:52 +08:00
|
|
|
<mysql.version>8.0.24</mysql.version>
|
2025-05-20 19:21:02 +08:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<!-- 对依赖包进行管理 -->
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<!--spring cloud-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
|
|
<version>${spring-cloud.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
<!--spring cloud alibaba-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
|
|
|
<version>${spring-cloud-alibaba.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- 数据库驱动包管理 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<version>${mysql.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- mybatis plus 管理 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
<version>${mybatis-plus.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!--hutool工具包-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
<version>${hutool.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<!-- lombok 管理 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>${org.projectlombok.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!--单元测试-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.8.1</version>
|
|
|
|
<configuration>
|
|
|
|
<source>11</source> <!-- depending on your project -->
|
|
|
|
<target>11</target> <!-- depending on your project -->
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</project>
|