2025-05-12 08:39:57 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2025-12-31 14:51:58 +08:00
|
|
|
<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">
|
|
|
|
|
|
|
|
|
|
<!-- ======================= -->
|
|
|
|
|
<!-- 基本项目信息 -->
|
|
|
|
|
<!-- ======================= -->
|
2025-05-12 08:39:57 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
<groupId>com.smart</groupId>
|
|
|
|
|
<artifactId>smart</artifactId>
|
|
|
|
|
<version>3.8.9</version>
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
|
|
<name>zg</name>
|
|
|
|
|
<description>智慧实物管理系统</description>
|
|
|
|
|
|
2025-12-31 14:51:58 +08:00
|
|
|
<!-- ======================= -->
|
|
|
|
|
<!-- Spring Boot 父工程 -->
|
|
|
|
|
<!-- ======================= -->
|
2025-05-12 08:39:57 +08:00
|
|
|
<parent>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
|
<version>2.5.15</version>
|
2025-12-31 14:51:58 +08:00
|
|
|
<relativePath/>
|
2025-05-12 08:39:57 +08:00
|
|
|
</parent>
|
|
|
|
|
|
2025-12-31 14:51:58 +08:00
|
|
|
<!-- ======================= -->
|
|
|
|
|
<!-- 全局版本与编译配置 -->
|
|
|
|
|
<!-- ======================= -->
|
2025-05-12 08:39:57 +08:00
|
|
|
<properties>
|
2025-12-31 14:51:58 +08:00
|
|
|
<!-- 编码 & JDK -->
|
2025-05-12 08:39:57 +08:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
|
<java.version>1.8</java.version>
|
2025-10-17 09:26:24 +08:00
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
|
|
|
|
2025-12-31 14:51:58 +08:00
|
|
|
<!-- Spring / Web -->
|
|
|
|
|
<tomcat.version>9.0.102</tomcat.version>
|
|
|
|
|
<spring-framework.version>5.3.39</spring-framework.version>
|
|
|
|
|
<spring-security.version>5.7.12</spring-security.version>
|
|
|
|
|
<logback.version>1.2.13</logback.version>
|
|
|
|
|
|
|
|
|
|
<!-- 数据库 & ORM -->
|
|
|
|
|
<druid.version>1.2.23</druid.version>
|
2025-05-12 08:39:57 +08:00
|
|
|
<pagehelper.spring.boot.starter.version>1.4.7</pagehelper.spring.boot.starter.version>
|
2025-12-31 14:51:58 +08:00
|
|
|
<mybatis-plus.version>3.5.5</mybatis-plus.version>
|
|
|
|
|
|
|
|
|
|
<!-- JSON / 工具 -->
|
2025-05-12 08:39:57 +08:00
|
|
|
<fastjson.version>2.0.53</fastjson.version>
|
|
|
|
|
<commons.io.version>2.13.0</commons.io.version>
|
|
|
|
|
<bitwalker.version>1.21</bitwalker.version>
|
|
|
|
|
<jwt.version>0.9.1</jwt.version>
|
2025-12-31 14:51:58 +08:00
|
|
|
|
|
|
|
|
<!-- 文档 / Excel -->
|
2025-05-12 08:39:57 +08:00
|
|
|
<swagger.version>3.0.0</swagger.version>
|
|
|
|
|
<poi.version>4.1.2</poi.version>
|
2025-12-31 14:51:58 +08:00
|
|
|
|
|
|
|
|
<!-- 系统 / 任务 -->
|
2025-10-17 09:26:24 +08:00
|
|
|
<oshi.version>5.8.5</oshi.version>
|
2025-05-12 08:39:57 +08:00
|
|
|
<velocity.version>2.3</velocity.version>
|
2025-12-31 14:51:58 +08:00
|
|
|
<kaptcha.version>2.3.3</kaptcha.version>
|
|
|
|
|
|
|
|
|
|
<!-- 中间件 / 通信 -->
|
|
|
|
|
<redis.version>2.5.15</redis.version>
|
|
|
|
|
<okhttp.version>4.12.0</okhttp.version>
|
|
|
|
|
<paho.mqtt.version>1.2.5</paho.mqtt.version>
|
|
|
|
|
|
|
|
|
|
<!-- 存储 -->
|
|
|
|
|
<minio.version>7.1.4</minio.version>
|
|
|
|
|
|
|
|
|
|
<!-- 设备 SDK -->
|
2025-05-12 08:39:57 +08:00
|
|
|
<rfidreader.version>1.0.0</rfidreader.version>
|
|
|
|
|
<zmprinter.version>4.4.7</zmprinter.version>
|
|
|
|
|
</properties>
|
|
|
|
|
|
2025-12-31 14:51:58 +08:00
|
|
|
<!-- ======================= -->
|
|
|
|
|
<!-- 依赖管理 -->
|
|
|
|
|
<!-- ======================= -->
|
2025-05-12 08:39:57 +08:00
|
|
|
<dependencies>
|
|
|
|
|
|
2025-12-31 14:51:58 +08:00
|
|
|
<!-- ===== Spring Boot 基础 ===== -->
|
2025-05-12 08:39:57 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
2025-12-31 14:51:58 +08:00
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
2025-05-12 08:39:57 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2025-10-17 09:26:24 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
2025-12-31 14:51:58 +08:00
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
2025-10-17 09:26:24 +08:00
|
|
|
</dependency>
|
2025-05-12 08:39:57 +08:00
|
|
|
|
2025-12-31 14:51:58 +08:00
|
|
|
<!-- ===== 安全 & WebSocket ===== -->
|
2025-05-12 08:39:57 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2025-12-31 14:51:58 +08:00
|
|
|
<!-- ===== 数据库 & ORM ===== -->
|
2025-05-12 08:39:57 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2025-12-31 14:51:58 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>druid-spring-boot-starter</artifactId>
|
|
|
|
|
<version>${druid.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2025-05-12 08:39:57 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.pagehelper</groupId>
|
|
|
|
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
|
|
|
<version>${pagehelper.spring.boot.starter.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
2025-12-31 14:51:58 +08:00
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
|
<version>${mybatis-plus.version}</version>
|
2025-05-12 08:39:57 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
2025-12-31 14:51:58 +08:00
|
|
|
<!-- ===== Redis ===== -->
|
2025-05-12 08:39:57 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
2025-12-31 14:51:58 +08:00
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
2025-05-12 08:39:57 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
2025-12-31 14:51:58 +08:00
|
|
|
<artifactId>commons-pool2</artifactId>
|
2025-05-12 08:39:57 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
2025-12-31 14:51:58 +08:00
|
|
|
<!-- ===== MQTT / HTTP 通信 ===== -->
|
2025-05-12 08:39:57 +08:00
|
|
|
<dependency>
|
2025-12-31 14:51:58 +08:00
|
|
|
<groupId>org.eclipse.paho</groupId>
|
|
|
|
|
<artifactId>org.eclipse.paho.client.mqttv3</artifactId>
|
|
|
|
|
<version>${paho.mqtt.version}</version>
|
2025-05-12 08:39:57 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
2025-12-31 14:51:58 +08:00
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
|
|
|
<artifactId>okhttp</artifactId>
|
|
|
|
|
<version>${okhttp.version}</version>
|
2025-05-12 08:39:57 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
2025-12-31 14:51:58 +08:00
|
|
|
<!-- ===== JSON / 工具 ===== -->
|
2025-05-12 08:39:57 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
|
|
|
<artifactId>fastjson2</artifactId>
|
|
|
|
|
<version>${fastjson.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
2025-12-31 14:51:58 +08:00
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
2025-05-12 08:39:57 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
2025-12-31 14:51:58 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
|
<version>${commons.io.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>eu.bitwalker</groupId>
|
|
|
|
|
<artifactId>UserAgentUtils</artifactId>
|
|
|
|
|
<version>${bitwalker.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- ===== Token / 安全 ===== -->
|
2025-05-12 08:39:57 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt</artifactId>
|
|
|
|
|
<version>${jwt.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2025-12-31 14:51:58 +08:00
|
|
|
<!-- ===== 文档 / Excel ===== -->
|
2025-05-12 08:39:57 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
|
<artifactId>springfox-boot-starter</artifactId>
|
|
|
|
|
<version>${swagger.version}</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.swagger</groupId>
|
|
|
|
|
<artifactId>swagger-models</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.swagger</groupId>
|
|
|
|
|
<artifactId>swagger-models</artifactId>
|
|
|
|
|
<version>1.6.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
|
|
<version>${poi.version}</version>
|
|
|
|
|
</dependency>
|
2025-10-17 09:26:24 +08:00
|
|
|
|
2025-12-31 14:51:58 +08:00
|
|
|
<!-- ===== 系统 / 定时 / 工具 ===== -->
|
2025-05-12 08:39:57 +08:00
|
|
|
<dependency>
|
2025-12-31 14:51:58 +08:00
|
|
|
<groupId>com.github.oshi</groupId>
|
|
|
|
|
<artifactId>oshi-core</artifactId>
|
|
|
|
|
<version>${oshi.version}</version>
|
2025-05-12 08:39:57 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.velocity</groupId>
|
|
|
|
|
<artifactId>velocity-engine-core</artifactId>
|
|
|
|
|
<version>${velocity.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
|
|
|
<artifactId>quartz</artifactId>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.mchange</groupId>
|
|
|
|
|
<artifactId>c3p0</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>pro.fessional</groupId>
|
|
|
|
|
<artifactId>kaptcha</artifactId>
|
|
|
|
|
<version>${kaptcha.version}</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
2025-12-31 14:51:58 +08:00
|
|
|
<artifactId>servlet-api</artifactId>
|
2025-05-12 08:39:57 +08:00
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2025-12-31 14:51:58 +08:00
|
|
|
<!-- ===== 对象存储 ===== -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.minio</groupId>
|
|
|
|
|
<artifactId>minio</artifactId>
|
|
|
|
|
<version>${minio.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- ===== 设备 SDK ===== -->
|
2025-05-12 08:39:57 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.zkweix</groupId>
|
|
|
|
|
<artifactId>RFIDReaderAPI</artifactId>
|
2025-12-31 14:51:58 +08:00
|
|
|
<version>${rfidreader.version}</version>
|
2025-05-12 08:39:57 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.zmtech</groupId>
|
|
|
|
|
<artifactId>ZMPrinter</artifactId>
|
2025-12-31 14:51:58 +08:00
|
|
|
<version>${zmprinter.version}</version>
|
2025-05-12 08:39:57 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
2025-12-31 14:51:58 +08:00
|
|
|
<!-- ===== Lombok ===== -->
|
2025-05-12 08:39:57 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2025-12-31 14:51:58 +08:00
|
|
|
<!-- ===== 测试 ===== -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2025-05-12 08:39:57 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
2025-12-31 14:51:58 +08:00
|
|
|
<!-- ======================= -->
|
|
|
|
|
<!-- 构建配置 -->
|
|
|
|
|
<!-- ======================= -->
|
2025-05-12 08:39:57 +08:00
|
|
|
<build>
|
2025-07-16 11:03:25 +08:00
|
|
|
<finalName>WisdomManagement</finalName>
|
2025-12-31 14:51:58 +08:00
|
|
|
|
2025-05-12 08:39:57 +08:00
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<mainClass>com.zg.SmartApplication</mainClass>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2025-10-17 09:26:24 +08:00
|
|
|
|
2025-08-26 17:01:43 +08:00
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2025-10-17 09:26:24 +08:00
|
|
|
<version>3.8.1</version>
|
2025-08-26 17:01:43 +08:00
|
|
|
<configuration>
|
2025-10-17 09:26:24 +08:00
|
|
|
<source>${maven.compiler.source}</source>
|
|
|
|
|
<target>${maven.compiler.target}</target>
|
2025-08-26 17:01:43 +08:00
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2025-05-12 08:39:57 +08:00
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
|
2025-12-31 14:51:58 +08:00
|
|
|
<!-- ======================= -->
|
|
|
|
|
<!-- Maven 仓库 -->
|
|
|
|
|
<!-- ======================= -->
|
2025-10-17 09:26:24 +08:00
|
|
|
<repositories>
|
|
|
|
|
<repository>
|
2025-12-31 14:51:58 +08:00
|
|
|
<id>aliyun</id>
|
2025-10-17 09:26:24 +08:00
|
|
|
<name>aliyun nexus</name>
|
|
|
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
|
|
|
</repository>
|
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
|
|
</project>
|