You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xzs-mysql/source/xzs/pom.xml

202 lines
9.2 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?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">
<!-- 定义 Maven 构建的基本信息 -->
<modelVersion>4.0.0</modelVersion>
<!-- 项目基础信息 -->
<groupId>com.mindskip</groupId> <!-- 项目所属的组织ID -->
<artifactId>xzs</artifactId> <!-- 项目的唯一标识 -->
<version>3.8.0</version> <!-- 项目的版本号 -->
<packaging>jar</packaging> <!-- 打包类型JAR 文件 -->
<name>xzs</name> <!-- 项目的名称 -->
<url>https://www.mindskip.net/xzs.html</url> <!-- 项目的主页链接 -->
<description>学之思开源考试系统 - mysql版支持多种题型选择题、多选题、判断题、填空题、解答题以及数学公式包含PC端、小程序端扩展性强部署方便(集成部署、前后端分离部署、docker部署)、界面设计友好、代码结构清晰</description> <!-- 项目的描述 -->
<!-- 设置项目的属性 -->
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <!-- 设置源代码编码为 UTF-8 -->
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <!-- 设置报告输出编码为 UTF-8 -->
<maven.compiler.source>1.8</maven.compiler.source> <!-- 设置 Java 编译版本为 1.8 -->
<maven.compiler.target>1.8</maven.compiler.target> <!-- 设置 Java 编译目标版本为 1.8 -->
<java.version>1.8</java.version> <!-- 设置 Java 版本为 1.8 -->
<mysql.version>8.0.17</mysql.version> <!-- 设置 MySQL 版本 -->
<spring.boot.version>2.1.6.RELEASE</spring.boot.version> <!-- 设置 Spring Boot 版本 -->
</properties>
<!-- 设置父级 POM 配置,继承自 Spring Boot 官方 POM -->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.6.RELEASE</version>
<relativePath/> <!-- 父级 POM 不需要相对路径 -->
</parent>
<!-- 问题管理 -->
<issueManagement>
<system>Gitee Issue</system> <!-- 使用 Gitee Issue 来管理问题 -->
<url>https://gitee.com/mindskip/xzs-mysql/issues</url> <!-- 项目问题管理链接 -->
</issueManagement>
<!-- 许可证信息 -->
<licenses>
<license>
<name>GNU Affero General Public License v3.0</name> <!-- 项目使用的许可证类型 -->
<url>https://www.gnu.org/licenses/agpl-3.0.txt</url> <!-- 许可证链接 -->
</license>
</licenses>
<!-- 开发者信息 -->
<developers>
<developer>
<organization>武汉思维跳跃科技有限公司</organization> <!-- 开发组织 -->
<organizationUrl>https://www.mindskip.net</organizationUrl> <!-- 开发组织网站 -->
<email>mindskip@qq.com</email> <!-- 开发者邮箱 -->
</developer>
</developers>
<!-- SCM 配置,定义项目的版本控制信息 -->
<scm>
<connection>scm:git@gitee.com:mindskip/xzs-mysql.git</connection> <!-- Git 连接 -->
<developerConnection>scm:git@gitee.com:mindskip/xzs-mysql.git</developerConnection> <!-- 开发者 Git 连接 -->
<url>git@gitee.com:mindskip/xzs-mysql.git</url> <!-- 项目的 Git 网址 -->
</scm>
<!-- 配置 Maven 仓库 -->
<repositories>
<repository>
<id>aliyun-releases</id> <!-- 仓库 ID -->
<url>https://maven.aliyun.com/repository/public</url> <!-- 阿里云公共 Maven 仓库地址 -->
</repository>
</repositories>
<!-- 项目所需的依赖项 -->
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId> <!-- Spring Boot 安全框架 -->
<version>${spring.boot.version}</version> <!-- 使用配置的 Spring Boot 版本 -->
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId> <!-- Spring Boot 验证框架 -->
<version>${spring.boot.version}</version> <!-- 使用配置的 Spring Boot 版本 -->
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <!-- Spring Boot Web 框架 -->
<version>${spring.boot.version}</version> <!-- 使用配置的 Spring Boot 版本 -->
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId> <!-- 排除默认 Tomcat使用 Undertow -->
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-undertow</artifactId> <!-- Spring Boot Undertow 服务器支持 -->
<version>${spring.boot.version}</version> <!-- 使用配置的 Spring Boot 版本 -->
</dependency>
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId> <!-- MyBatis Spring Boot 启动器 -->
<version>2.1.0</version> <!-- MyBatis 版本 -->
</dependency>
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId> <!-- PageHelper 分页插件 -->
<version>1.2.12</version> <!-- PageHelper 版本 -->
</dependency>
<!-- MySQL 连接器 -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.version}</version> <!-- 使用配置的 MySQL 版本 -->
</dependency>
<!-- Apache Commons 库 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
<version>2.6.1</version> <!-- Apache Commons Pool 版本 -->
</dependency>
<!-- Apache HttpClient 库 -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.9</version> <!-- Apache HttpClient 版本 -->
</dependency>
<!-- ModelMapper用于对象映射 -->
<dependency>
<groupId>org.modelmapper</groupId>
<artifactId>modelmapper</artifactId>
<version>2.3.3</version> <!-- ModelMapper 版本 -->
</dependency>
<!-- Apache Commons Lang 库 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.9</version> <!-- Apache Commons Lang 版本 -->
</dependency>
<!-- 七牛云 SDK -->
<dependency>
<groupId>com.qiniu</groupId>
<artifactId>qiniu-java-sdk</artifactId>
<version>7.2.25</version> <!-- 七牛云 SDK 版本 -->
</dependency>
<!-- Spring Boot 测试依赖 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<version>${spring.boot.version}</version> <!-- 使用配置的 Spring Boot 版本 -->
<scope>test</scope> <!-- 仅用于测试 -->
</dependency>
<!-- Spring Security 测试依赖 -->
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-test</artifactId>
<scope>test</scope> <!-- 仅用于测试 -->
</dependency>
<!-- 热加载调试工具 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<version>${spring.boot.version}</version> <!-- 使用配置的 Spring Boot 版本 -->
<scope>provided</scope> <!-- 仅在开发环境提供 -->
<optional>true</optional> <!-- 可选依赖 -->
</dependency>
</dependencies>
<!-- 项目构建配置 -->
<build>
<plugins>
<!-- Spring Boot Maven 插件,用于构建 Spring Boot 项目 -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.version}</version> <!-- 使用配置的 Spring Boot 版本 -->
<configuration>
<fork>true</fork> <!-- 启用进程分叉 -->
</configuration>
</plugin>
<!-- Maven Surefire 插件,用于跳过测试 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests> <!-- 跳过测试 -->
</configuration>
</plugin>
</plugins>
</build>
</project>