blob: ec0f136f4fa3118fc7dcea3dc25a91dcf2be5f0c [file] [log] [blame]
Jiarenxiang25a45b72025-03-13 16:09:13 +08001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6
7 <groupId>com.ruoyi</groupId>
8 <artifactId>ThunderHubServer</artifactId>
9 <version>3.8.8</version>
10
11 <name>ruoyi</name>
12 <url>http://www.ruoyi.vip</url>
Jiarenxiang5f4247d2025-06-06 18:10:35 +080013 <description>北交私人PT网站</description>
Jiarenxiang25a45b72025-03-13 16:09:13 +080014
15 <properties>
16 <ruoyi.version>3.8.8</ruoyi.version>
17 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
19 <java.version>17</java.version>
20 <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
21 <mybatis-spring-boot.version>3.0.3</mybatis-spring-boot.version>
22 <druid.version>1.2.23</druid.version>
23 <bitwalker.version>1.21</bitwalker.version>
24 <swagger.version>3.0.0</swagger.version>
25 <kaptcha.version>2.3.3</kaptcha.version>
26 <pagehelper.boot.version>2.1.0</pagehelper.boot.version>
27 <fastjson.version>2.0.43</fastjson.version>
28 <oshi.version>6.6.3</oshi.version>
29 <commons.io.version>2.13.0</commons.io.version>
30 <poi.version>4.1.2</poi.version>
31 <velocity.version>2.3</velocity.version>
32 <jwt.version>0.9.1</jwt.version>
33 <mysql.version>8.2.0</mysql.version>
34 <jaxb-api.version>2.3.1</jaxb-api.version>
35 <jakarta.version>6.0.0</jakarta.version>
36 <springdoc.version>2.5.0</springdoc.version>
37 </properties>
38
39 <!-- 依赖声明 -->
40 <dependencyManagement>
41 <dependencies>
42
43 <!-- SpringBoot的依赖配置-->
44 <dependency>
45 <groupId>org.springframework.boot</groupId>
46 <artifactId>spring-boot-dependencies</artifactId>
47 <version>3.3.0</version>
48 <type>pom</type>
49 <scope>import</scope>
50 </dependency>
51
52 <!-- 阿里数据库连接池 -->
53 <dependency>
54 <groupId>com.alibaba</groupId>
55 <artifactId>druid-spring-boot-3-starter</artifactId>
56 <version>${druid.version}</version>
57 </dependency>
58
59 <!-- 解析客户端操作系统、浏览器等 -->
60 <dependency>
61 <groupId>eu.bitwalker</groupId>
62 <artifactId>UserAgentUtils</artifactId>
63 <version>${bitwalker.version}</version>
64 </dependency>
65
66 <!-- pagehelper 分页插件 -->
67 <dependency>
68 <groupId>com.github.pagehelper</groupId>
69 <artifactId>pagehelper-spring-boot-starter</artifactId>
70 <version>${pagehelper.boot.version}</version>
71 </dependency>
72
73 <dependency>
74 <groupId>org.mybatis.spring.boot</groupId>
75 <artifactId>mybatis-spring-boot-starter</artifactId>
76 <version>${mybatis-spring-boot.version}</version>
77 </dependency>
78
79
80 <dependency>
81 <groupId>com.mysql</groupId>
82 <artifactId>mysql-connector-j</artifactId>
83 <version>${mysql.version}</version>
84 </dependency>
85
86 <dependency>
87 <groupId>javax.xml.bind</groupId>
88 <artifactId>jaxb-api</artifactId>
89 <version>${jaxb-api.version}</version>
90 </dependency>
91
92 <dependency>
93 <groupId>jakarta.servlet</groupId>
94 <artifactId>jakarta.servlet-api</artifactId>
95 <version>${jakarta.version}</version>
96 </dependency>
97
98 <!-- 获取系统信息 -->
99 <dependency>
100 <groupId>com.github.oshi</groupId>
101 <artifactId>oshi-core</artifactId>
102 <version>${oshi.version}</version>
103 </dependency>
104
105 <!-- spring-doc -->
106 <dependency>
107 <groupId>org.springdoc</groupId>
108 <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
109 <version>${springdoc.version}</version>
110 </dependency>
111
112 <!-- io常用工具类 -->
113 <dependency>
114 <groupId>commons-io</groupId>
115 <artifactId>commons-io</artifactId>
116 <version>${commons.io.version}</version>
117 </dependency>
118
119 <!-- excel工具 -->
120 <dependency>
121 <groupId>org.apache.poi</groupId>
122 <artifactId>poi-ooxml</artifactId>
123 <version>${poi.version}</version>
124 </dependency>
125
126 <!-- velocity代码生成使用模板 -->
127 <dependency>
128 <groupId>org.apache.velocity</groupId>
129 <artifactId>velocity-engine-core</artifactId>
130 <version>${velocity.version}</version>
131 </dependency>
132
133 <!-- 阿里JSON解析器 -->
134 <dependency>
135 <groupId>com.alibaba.fastjson2</groupId>
136 <artifactId>fastjson2</artifactId>
137 <version>${fastjson.version}</version>
138 </dependency>
139
140 <!-- Token生成与解析-->
141 <dependency>
142 <groupId>io.jsonwebtoken</groupId>
143 <artifactId>jjwt</artifactId>
144 <version>${jwt.version}</version>
145 </dependency>
146
147 <!-- 验证码 -->
148 <dependency>
149 <groupId>pro.fessional</groupId>
150 <artifactId>kaptcha</artifactId>
151 <version>${kaptcha.version}</version>
152 </dependency>
153
154 <!-- 定时任务-->
155 <dependency>
156 <groupId>com.ruoyi</groupId>
157 <artifactId>ruoyi-quartz</artifactId>
158 <version>${ruoyi.version}</version>
159 </dependency>
160
161 <!-- 代码生成-->
162 <dependency>
163 <groupId>com.ruoyi</groupId>
164 <artifactId>ruoyi-generator</artifactId>
165 <version>${ruoyi.version}</version>
166 </dependency>
167
168 <!-- 核心模块-->
169 <dependency>
170 <groupId>com.ruoyi</groupId>
171 <artifactId>ruoyi-framework</artifactId>
172 <version>${ruoyi.version}</version>
173 </dependency>
174
175 <!-- 系统模块-->
176 <dependency>
177 <groupId>com.ruoyi</groupId>
178 <artifactId>ruoyi-system</artifactId>
179 <version>${ruoyi.version}</version>
180 </dependency>
181
182 <!-- 通用工具-->
183 <dependency>
184 <groupId>com.ruoyi</groupId>
185 <artifactId>ruoyi-common</artifactId>
186 <version>${ruoyi.version}</version>
187 </dependency>
188
meisiyuc98fc522025-06-02 20:33:40 +0800189 <!-- 测试依赖 -->
Jiarenxiang25a45b72025-03-13 16:09:13 +0800190 <dependency>
meisiyuc98fc522025-06-02 20:33:40 +0800191 <groupId>org.springframework.boot</groupId>
192 <artifactId>spring-boot-starter-test</artifactId>
193 <version>3.3.0</version>
Jiarenxiang5f4247d2025-06-06 18:10:35 +0800194<!-- <scope>test</scope>-->
Jiarenxiang25a45b72025-03-13 16:09:13 +0800195 </dependency>
196
197 <dependency>
198 <groupId>org.junit.jupiter</groupId>
meisiyuc98fc522025-06-02 20:33:40 +0800199 <artifactId>junit-jupiter</artifactId>
200 <version>5.10.0</version>
Jiarenxiang25a45b72025-03-13 16:09:13 +0800201 <scope>test</scope>
202 </dependency>
203
204 <dependency>
meisiyuc98fc522025-06-02 20:33:40 +0800205 <groupId>org.mockito</groupId>
206 <artifactId>mockito-core</artifactId>
207 <version>5.5.0</version>
208 <scope>test</scope>
209 </dependency>
210
211 <dependency>
212 <groupId>org.mockito</groupId>
213 <artifactId>mockito-junit-jupiter</artifactId>
214 <version>5.5.0</version>
215 <scope>test</scope>
Jiarenxiang25a45b72025-03-13 16:09:13 +0800216 </dependency>
217
崔向南03d21b92025-06-05 17:42:23 +0800218 <dependency>
219 <groupId>com.baomidou</groupId>
220 <artifactId>mybatis-plus-boot-starter</artifactId>
221 <version>3.5.2</version>
222 </dependency>
223
224
225
Jiarenxiang25a45b72025-03-13 16:09:13 +0800226 </dependencies>
227 </dependencyManagement>
228
229 <modules>
230 <module>ruoyi-admin</module>
231 <module>ruoyi-framework</module>
232 <module>ruoyi-system</module>
233 <module>ruoyi-quartz</module>
234 <module>ruoyi-generator</module>
235 <module>ruoyi-common</module>
236 </modules>
237 <packaging>pom</packaging>
238
239 <build>
240 <plugins>
241 <plugin>
242 <groupId>org.apache.maven.plugins</groupId>
243 <artifactId>maven-compiler-plugin</artifactId>
244 <version>3.13.0</version>
245 <configuration>
246 <parameters>true</parameters>
247 <source>${java.version}</source>
248 <target>${java.version}</target>
249 <encoding>${project.build.sourceEncoding}</encoding>
250 </configuration>
251 </plugin>
252 <plugin>
253 <groupId>org.springframework.boot</groupId>
254 <artifactId>spring-boot-maven-plugin</artifactId>
meisiyuc98fc522025-06-02 20:33:40 +0800255 <version>2.5.15</version>
256 <configuration>
257 <fork>true</fork>
258 </configuration>
259 <executions>
260 <execution>
261 <goals>
262 <goal>repackage</goal>
263 </goals>
264 </execution>
265 </executions>
266 </plugin>
267
268 <!-- 测试相关插件 -->
269 <plugin>
270 <groupId>org.apache.maven.plugins</groupId>
271 <artifactId>maven-surefire-plugin</artifactId>
272 <version>3.0.0-M7</version>
273 <configuration>
274 <includes>
275 <include>**/*Test.java</include>
276 <include>**/*Tests.java</include>
277 </includes>
278 <excludes>
279 <exclude>**/Abstract*.java</exclude>
280 </excludes>
281 <systemPropertyVariables>
282 <spring.profiles.active>test</spring.profiles.active>
283 </systemPropertyVariables>
284 </configuration>
Jiarenxiang25a45b72025-03-13 16:09:13 +0800285 </plugin>
286 </plugins>
287 </build>
288
289 <repositories>
290 <repository>
291 <id>public</id>
292 <name>aliyun nexus</name>
293 <url>https://maven.aliyun.com/repository/public</url>
294 <releases>
295 <enabled>true</enabled>
296 </releases>
297 </repository>
298 </repositories>
299
300 <pluginRepositories>
301 <pluginRepository>
302 <id>public</id>
303 <name>aliyun nexus</name>
304 <url>https://maven.aliyun.com/repository/public</url>
305 <releases>
306 <enabled>true</enabled>
307 </releases>
308 <snapshots>
309 <enabled>false</enabled>
310 </snapshots>
311 </pluginRepository>
312 </pluginRepositories>
313
314</project>