代码拉取完成,页面将自动刷新
<?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>
<packaging>pom</packaging>
<modules>
<module>tmall-admin</module>
<module>tmall-common</module>
<module>tmall-front</module>
<module>tmall-basic</module>
</modules>
<!-- maven项目变为spring-boot项目-->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.5.0</version>
</parent>
<!--当前项目的描述-->
<groupId>cn.tedu</groupId>
<artifactId>tmall-server</artifactId>
<version>1.0</version>
<!-- 属性配置-->
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<spring-boot-version>2.5.0</spring-boot-version>
<spring-boot-test-version>2.5.0</spring-boot-test-version>
<lombok-version>1.18.30</lombok-version>
<mybatis-spring-boot-version>2.3.1</mybatis-spring-boot-version>
<mysql-version>8.0.31</mysql-version>
<mybatis-plus-spring-boot.version>3.3.0</mybatis-plus-spring-boot.version>
<knife4j-spring-boot-version>2.0.9</knife4j-spring-boot-version>
<pagehelper-spring-boot.version>1.3.0</pagehelper-spring-boot.version>
<tmall-common-version>1.0</tmall-common-version>
<spring-boot-redis-version>2.5.8</spring-boot-redis-version>
</properties>
<!--
1 把整个项目的依赖在父模块管理
2 统一版本号
3 子模块不会全部继承,可以按需选择
-->
<dependencyManagement>
<dependencies>
<!-- spring-boot-web mvc-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${spring-boot-version}</version>
</dependency>
<!-- Spring Boot支持Spring Validation的依赖项,用于检查参数的基本有效性 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
<version>${spring-boot-version}</version>
</dependency>
<!--spring-boot-test-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<version>${spring-boot-test-version}</version>
</dependency>
<!-- 添加了my-baits依赖-->
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>${mybatis-spring-boot-version}</version>
</dependency>
<!--mysql 连接驱动-->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql-version}</version>
</dependency>
<!-- Mybatis Plus整合Spring Boot的依赖项 -->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>${mybatis-plus-spring-boot.version}</version>
</dependency>
<!-- Spring-boot 在线API文档依赖 Knife4j -->
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-spring-boot-starter</artifactId>
<version>${knife4j-spring-boot-version}</version>
</dependency>
<!-- 分頁工具page-helper-->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>${pagehelper-spring-boot.version}</version>
</dependency>
<!-- common-->
<dependency>
<groupId>cn.tedu</groupId>
<artifactId>tmall-common</artifactId>
<version>${tmall-common-version}</version>
</dependency>
<!-- Spring Boot支持Spring Data Redis的依赖项 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
<version>${spring-boot-redis-version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<!-- 当前项目的依赖项-->
<dependencies>
<!-- Spring-boot 基础依赖-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<version>2.5.8</version>
</dependency>
</dependencies>
</project>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。