2025-08-09 01:37:25 +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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
|
|
<groupId>com.cdzy</groupId>
|
|
|
|
|
|
<artifactId>ebike-plus</artifactId>
|
|
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
2025-09-09 17:12:54 +08:00
|
|
|
|
<name>ebike-plus</name>
|
2025-08-09 01:37:25 +08:00
|
|
|
|
<description>ebike-plus</description>
|
|
|
|
|
|
|
|
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
|
|
|
|
<modules>
|
|
|
|
|
|
<module>ebike-common</module>
|
|
|
|
|
|
<module>ebike-feign</module>
|
|
|
|
|
|
<module>ebike-gateway</module>
|
|
|
|
|
|
<module>ebike-gather</module>
|
|
|
|
|
|
<module>ebike-staff</module>
|
2025-09-15 10:36:01 +08:00
|
|
|
|
<module>ebike-operations</module>
|
2025-10-14 13:59:25 +08:00
|
|
|
|
<module>ebike-user</module>
|
2025-10-17 17:32:20 +08:00
|
|
|
|
<module>ebike-payment</module>
|
2025-10-30 10:46:28 +08:00
|
|
|
|
<module>ebike-report</module>
|
2025-08-09 01:37:25 +08:00
|
|
|
|
</modules>
|
|
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
|
<java.version>17</java.version>
|
|
|
|
|
|
<spring-cloud.version>2023.0.3</spring-cloud.version>
|
|
|
|
|
|
<spring-cloud-alibaba.version>2023.0.3.2</spring-cloud-alibaba.version>
|
|
|
|
|
|
<boot.version>3.3.5</boot.version>
|
|
|
|
|
|
<nacos.version>2023.0.3.2</nacos.version>
|
|
|
|
|
|
<jackson.version>2.18.0</jackson.version>
|
|
|
|
|
|
<hutool.version>5.8.26</hutool.version>
|
|
|
|
|
|
<org.projectlombok.version>1.18.30</org.projectlombok.version>
|
2025-10-09 19:01:23 +08:00
|
|
|
|
<mybatis-flex.version>1.11.3</mybatis-flex.version>
|
2025-08-09 01:37:25 +08:00
|
|
|
|
<mybatis.version>3.0.4</mybatis.version>
|
|
|
|
|
|
<satoken.version>1.40.0</satoken.version>
|
|
|
|
|
|
<HikariCP.version>5.0.1</HikariCP.version>
|
|
|
|
|
|
<okhttp.version>4.12.0</okhttp.version>
|
|
|
|
|
|
<minio.version>8.5.7</minio.version>
|
2026-01-14 01:25:11 +08:00
|
|
|
|
<docker.host>http://47.109.71.130:2375</docker.host>
|
|
|
|
|
|
<docker-maven-plugin.version>0.42.1</docker-maven-plugin.version>
|
2025-08-09 01:37:25 +08:00
|
|
|
|
</properties>
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
|
|
<version>${boot.version}</version>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
|
<version>${org.projectlombok.version}</version>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
|
<artifactId>hutool-bom</artifactId>
|
|
|
|
|
|
<version>${hutool.version}</version>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
|
|
|
|
<version>${spring-cloud.version}</version>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- nacos客户端依赖包 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
|
|
<version>${nacos.version}</version>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- nacos的配置管理依赖 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
|
|
|
<version>${nacos.version}</version>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
|
|
|
|
<artifactId>jackson-datatype-jsr310</artifactId>
|
|
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--Spring boot单元测试-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
|
<version>${boot.version}</version>
|
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
|
<exclusions>
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>org.junit.vintage</groupId>
|
|
|
|
|
|
<artifactId>junit-vintage-engine</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
</exclusions>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.mybatis-flex</groupId>
|
|
|
|
|
|
<artifactId>mybatis-flex-spring-boot3-starter</artifactId>
|
|
|
|
|
|
<version>${mybatis-flex.version}</version>
|
|
|
|
|
|
<exclusions>
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
|
|
|
<artifactId>mybatis-spring</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
</exclusions>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
|
|
|
<artifactId>mybatis-spring</artifactId>
|
|
|
|
|
|
<version>${mybatis.version}</version>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.mybatis-flex</groupId>
|
|
|
|
|
|
<artifactId>mybatis-flex-processor</artifactId>
|
|
|
|
|
|
<version>${mybatis-flex.version}</version>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Sa-Token 权限认证,在线文档:https://sa-token.cc -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>cn.dev33</groupId>
|
|
|
|
|
|
<artifactId>sa-token-spring-boot3-starter</artifactId>
|
|
|
|
|
|
<version>${satoken.version}</version>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.zaxxer</groupId>
|
|
|
|
|
|
<artifactId>HikariCP</artifactId>
|
|
|
|
|
|
<version>${HikariCP.version}</version>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.data</groupId>
|
|
|
|
|
|
<artifactId>spring-data-bom</artifactId>
|
|
|
|
|
|
<version>2021.2.8</version> <!-- 对应 Spring Data Redis 3.3.5 -->
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
|
|
|
|
<artifactId>okhttp</artifactId>
|
|
|
|
|
|
<version>${okhttp.version}</version>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>io.minio</groupId>
|
|
|
|
|
|
<artifactId>minio</artifactId>
|
|
|
|
|
|
<version>${minio.version}</version>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.junit.platform</groupId>
|
|
|
|
|
|
<artifactId>junit-platform-launcher</artifactId>
|
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
|
|
|
|
|
<artifactId>caffeine</artifactId>
|
|
|
|
|
|
<version>3.1.8</version> <!-- Spring Boot 3.3.5 兼容版本 -->
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
<!--编译打包过虑配置-->
|
|
|
|
|
|
<resources>
|
|
|
|
|
|
<resource>
|
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
|
<filtering>true</filtering>
|
|
|
|
|
|
<includes>
|
|
|
|
|
|
<include>**/*</include>
|
|
|
|
|
|
</includes>
|
|
|
|
|
|
</resource>
|
|
|
|
|
|
<resource>
|
|
|
|
|
|
<directory>src/main/java</directory>
|
|
|
|
|
|
<includes>
|
|
|
|
|
|
<include>**/*.xml</include>
|
|
|
|
|
|
</includes>
|
|
|
|
|
|
</resource>
|
|
|
|
|
|
</resources>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<!--打包插件-->
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
|
<version>${boot.version}</version>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
|
<version>3.11.0</version>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<!--指定项目源码jdk的版本-->
|
|
|
|
|
|
<source>17</source>
|
|
|
|
|
|
<!--指定项目编译后的jdk的版本-->
|
|
|
|
|
|
<target>17</target>
|
|
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
|
|
<!--责处理项目资源文件并拷贝到输出目录,如果有额外的资源文件目录则需要配置-->
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
|
|
<version>3.3.1</version>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<encoding>utf-8</encoding>
|
|
|
|
|
|
<nonFilteredFileExtensions>
|
|
|
|
|
|
<nonFilteredFileExtension>ttc</nonFilteredFileExtension>
|
|
|
|
|
|
<nonFilteredFileExtension>ttf</nonFilteredFileExtension>
|
|
|
|
|
|
</nonFilteredFileExtensions>
|
|
|
|
|
|
<!--使用默认分隔符,resource中可以使用分割符定义过虑的路径-->
|
|
|
|
|
|
<useDefaultDelimiters>true</useDefaultDelimiters>
|
|
|
|
|
|
<outputDirectory/>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|