2025-07-18 17:58:07 +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>
|
2025-07-20 16:55:23 +08:00
|
|
|
|
<version>3.2.4</version>
|
2025-07-18 17:58:07 +08:00
|
|
|
|
<relativePath/>
|
|
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
|
|
<groupId>com.yundage</groupId>
|
|
|
|
|
|
<artifactId>chat</artifactId>
|
|
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
|
<name>chat</name>
|
|
|
|
|
|
<description>Chat project for Spring Boot with MyBatis-Flex</description>
|
|
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
|
<java.version>17</java.version>
|
2025-07-20 14:03:12 +08:00
|
|
|
|
<mybatis-flex.version>1.11.0</mybatis-flex.version>
|
2025-07-18 17:58:07 +08:00
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
<!-- Spring Boot Web Starter -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- MySQL Driver -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.mysql</groupId>
|
|
|
|
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- MyBatis-Flex Spring Boot Starter -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.mybatis-flex</groupId>
|
2025-07-20 14:03:12 +08:00
|
|
|
|
<artifactId>mybatis-flex-spring-boot3-starter</artifactId>
|
2025-07-18 17:58:07 +08:00
|
|
|
|
<version>${mybatis-flex.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
2025-07-20 14:03:12 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- MyBatis‑Flex Core library (contains BaseMapper etc.) -->
|
2025-07-18 17:58:07 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.mybatis-flex</groupId>
|
|
|
|
|
|
<artifactId>mybatis-flex-processor</artifactId>
|
2025-07-20 14:03:12 +08:00
|
|
|
|
<version>1.11.0</version>
|
2025-07-18 17:58:07 +08:00
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
|
</dependency>
|
2025-07-20 14:03:12 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.zaxxer</groupId>
|
|
|
|
|
|
<artifactId>HikariCP</artifactId>
|
|
|
|
|
|
</dependency>
|
2025-07-18 17:58:07 +08:00
|
|
|
|
<!-- Spring Boot Test Starter -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Spring Security -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- JWT -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
|
<artifactId>jjwt-api</artifactId>
|
|
|
|
|
|
<version>0.12.3</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
|
<artifactId>jjwt-impl</artifactId>
|
|
|
|
|
|
<version>0.12.3</version>
|
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
|
<artifactId>jjwt-jackson</artifactId>
|
|
|
|
|
|
<version>0.12.3</version>
|
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Validation -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Mail Starter for password reset -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-mail</artifactId>
|
|
|
|
|
|
</dependency>
|
2025-07-20 14:03:12 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
|
<artifactId>spring-tx</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- OpenAPI 3 + Swagger-UI -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
|
|
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
|
|
|
|
|
<version>2.5.0</version>
|
|
|
|
|
|
</dependency>
|
2025-07-20 16:55:23 +08:00
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.ai</groupId>
|
|
|
|
|
|
<artifactId>spring-ai-openai-spring-boot-starter</artifactId>
|
|
|
|
|
|
<version>1.0.0-M6</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
|
</dependency>
|
2025-07-21 14:07:01 +08:00
|
|
|
|
|
2025-07-21 16:16:52 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>io.projectreactor.netty</groupId>
|
|
|
|
|
|
<artifactId>reactor-netty-http</artifactId>
|
|
|
|
|
|
<version>1.1.15</version>
|
|
|
|
|
|
</dependency>
|
2025-07-21 14:07:01 +08:00
|
|
|
|
|
2025-07-18 17:58:07 +08:00
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
|
</plugin>
|
2025-07-21 16:16:52 +08:00
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<parameters>true</parameters>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
2025-07-18 17:58:07 +08:00
|
|
|
|
</plugins>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
</project>
|