2025-08-12 19:01:26 +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>com.timeline</groupId>
|
|
|
|
|
<artifactId>timeline</artifactId>
|
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
<artifactId>timeline-user-service</artifactId>
|
|
|
|
|
<name>timeline-user-service</name>
|
|
|
|
|
<description>User management service for timeline system</description>
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
|
|
|
<maven.compiler.target>21</maven.compiler.target>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<!-- Spring Boot -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- Spring Cloud -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-bootstrap</artifactId>
|
|
|
|
|
</dependency>
|
2026-02-25 15:27:20 +08:00
|
|
|
|
|
|
|
|
<!-- Spring Cloud OpenFeign -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
|
|
</dependency>
|
2025-08-12 19:01:26 +08:00
|
|
|
|
2026-01-05 15:21:26 +08:00
|
|
|
<!-- Spring Cloud Alibaba Nacos -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
|
|
</dependency>
|
2026-02-25 15:27:20 +08:00
|
|
|
|
|
|
|
|
<!-- Jakarta Servlet API (replaces javax.servlet in Spring Boot 3) -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>jakarta.servlet</groupId>
|
|
|
|
|
<artifactId>jakarta.servlet-api</artifactId>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
2026-01-05 15:21:26 +08:00
|
|
|
|
2025-08-12 19:01:26 +08:00
|
|
|
<!-- JWT -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt-api</artifactId>
|
|
|
|
|
<version>0.11.5</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt-impl</artifactId>
|
|
|
|
|
<version>0.11.5</version>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt-jackson</artifactId>
|
|
|
|
|
<version>0.11.5</version>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 公共模块 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.timeline</groupId>
|
|
|
|
|
<artifactId>timeline-component-common</artifactId>
|
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 数据库相关 -->
|
2026-02-11 14:28:27 +08:00
|
|
|
|
2025-08-12 19:01:26 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
|
|
<version>3.0.4</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.mysql</groupId>
|
|
|
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
|
|
|
<version>8.2.0</version>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 工具类 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
<artifactId>lombok</artifactId>
|
2026-02-11 14:28:27 +08:00
|
|
|
<version>1.18.36</version>
|
|
|
|
|
<scope>provided</scope>
|
2025-08-12 19:01:26 +08:00
|
|
|
</dependency>
|
2025-12-24 14:17:19 +08:00
|
|
|
|
|
|
|
|
<!-- WebSocket/STOMP -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
|
|
</dependency>
|
2026-02-25 15:04:30 +08:00
|
|
|
|
|
|
|
|
<!-- Redis for caching -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- jqwik for property-based testing -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.jqwik</groupId>
|
|
|
|
|
<artifactId>jqwik</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2026-02-25 16:18:24 +08:00
|
|
|
|
|
|
|
|
<!-- Test dependencies -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
|
<artifactId>mockito-junit-jupiter</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2025-08-12 19:01:26 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>repackage</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
2026-01-05 15:21:26 +08:00
|
|
|
</project>
|