You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

295 lines
10 KiB

10 months ago
10 months ago
9 months ago
9 months ago
2 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
9 months ago
9 months ago
9 months ago
10 months ago
9 months ago
10 months ago
10 months ago
9 months ago
10 months ago
10 months ago
8 months ago
8 months ago
8 months ago
10 months ago
8 months ago
8 months ago
10 months ago
10 months ago
10 months ago
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>3.3.6</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.example</groupId>
  12. <artifactId>demo</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>demo</name>
  15. <description>demo</description>
  16. <url/>
  17. <licenses>
  18. <license/>
  19. </licenses>
  20. <developers>
  21. <developer/>
  22. </developers>
  23. <scm>
  24. <connection/>
  25. <developerConnection/>
  26. <tag/>
  27. <url/>
  28. </scm>
  29. <properties>
  30. <java.version>21</java.version>
  31. </properties>
  32. <dependencies>
  33. <dependency>
  34. <groupId>com.alibaba</groupId>
  35. <artifactId>fastjson</artifactId>
  36. <version>1.2.83</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.apache.commons</groupId>
  40. <artifactId>commons-lang3</artifactId>
  41. <version>3.12.0</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>io.jsonwebtoken</groupId>
  45. <artifactId>jjwt-api</artifactId>
  46. <version>0.11.5</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>io.jsonwebtoken</groupId>
  50. <artifactId>jjwt-impl</artifactId>
  51. <version>0.11.5</version>
  52. <scope>runtime</scope>
  53. </dependency>
  54. <dependency>
  55. <groupId>io.jsonwebtoken</groupId>
  56. <artifactId>jjwt-jackson</artifactId>
  57. <version>0.11.5</version>
  58. <scope>runtime</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.github.penggle</groupId>
  62. <artifactId>kaptcha</artifactId>
  63. <version>2.3.2</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.apache.poi</groupId>
  67. <artifactId>poi-ooxml</artifactId>
  68. <version>5.2.3</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-amqp</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.apache.httpcomponents</groupId>
  80. <artifactId>httpclient</artifactId>
  81. <version>4.5.14</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.microsoft.sqlserver</groupId>
  85. <artifactId>mssql-jdbc</artifactId>
  86. <version>12.4.1.jre11</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>cn.hutool</groupId>
  90. <artifactId>hutool-all</artifactId>
  91. <version>5.8.24</version>
  92. </dependency>
  93. <!-- Guava:提供缓存+过期时间功能,适合本地限流 -->
  94. <dependency>
  95. <groupId>com.google.guava</groupId>
  96. <artifactId>guava</artifactId>
  97. <version>32.1.3-jre</version> <!-- 推荐稳定版 -->
  98. </dependency>
  99. <dependency>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-starter-web</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-starter-aop</artifactId>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.springframework.boot</groupId>
  109. <artifactId>spring-boot-starter-validation</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.mybatis.spring.boot</groupId>
  113. <artifactId>mybatis-spring-boot-starter</artifactId>
  114. <version>3.0.4</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.alibaba</groupId>
  118. <artifactId>easyexcel</artifactId>
  119. <version>3.1.3</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>com.fasterxml.jackson.core</groupId>
  123. <artifactId>jackson-databind</artifactId>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.springframework.boot</groupId>
  127. <artifactId>spring-boot-devtools</artifactId>
  128. <scope>runtime</scope>
  129. <optional>true</optional>
  130. </dependency>
  131. <dependency>
  132. <groupId>com.mysql</groupId>
  133. <artifactId>mysql-connector-j</artifactId>
  134. <scope>runtime</scope>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.projectlombok</groupId>
  138. <artifactId>lombok</artifactId>
  139. <optional>true</optional>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.springframework.boot</groupId>
  143. <artifactId>spring-boot-starter-test</artifactId>
  144. <scope>test</scope>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.mybatis.spring.boot</groupId>
  148. <artifactId>mybatis-spring-boot-starter-test</artifactId>
  149. <version>3.0.4</version>
  150. <scope>test</scope>
  151. </dependency>
  152. <dependency>
  153. <groupId>com.baomidou</groupId>
  154. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  155. <version>3.5.2</version> <!-- 版本号可根据实际情况调整 -->
  156. </dependency>
  157. <dependency>
  158. <groupId>io.jsonwebtoken</groupId>
  159. <artifactId>jjwt</artifactId>
  160. <version>0.9.1</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.springframework.boot</groupId>
  164. <artifactId>spring-boot-starter-webflux</artifactId>
  165. </dependency>
  166. <dependency>
  167. <groupId>org.springframework.boot</groupId>
  168. <artifactId>spring-boot-starter-security</artifactId>
  169. <version>3.3.6</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.springframework.boot</groupId>
  173. <artifactId>spring-boot-starter-data-redis</artifactId>
  174. </dependency>
  175. <dependency>
  176. <groupId>com.github.pagehelper</groupId>
  177. <artifactId>pagehelper-spring-boot-starter</artifactId>
  178. <version>1.4.6</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>jakarta.validation</groupId>
  182. <artifactId>jakarta.validation-api</artifactId>
  183. <version>3.0.2</version> <!-- Jakarta Validation规范版本 -->
  184. </dependency>
  185. <dependency>
  186. <groupId>org.hibernate.validator</groupId>
  187. <artifactId>hibernate-validator</artifactId>
  188. <version>8.0.0.Final</version> <!-- 对应Spring Boot 3的实现版本 -->
  189. </dependency>
  190. <dependency>
  191. <groupId>javax.xml.bind</groupId>
  192. <artifactId>jaxb-api</artifactId>
  193. <version>2.3.1</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>com.stripe</groupId>
  197. <artifactId>stripe-java</artifactId>
  198. <version>30.0.0</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.apache.httpcomponents.client5</groupId>
  202. <artifactId>httpclient5</artifactId>
  203. <version>5.3.1</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>com.alibaba</groupId>
  207. <artifactId>fastjson</artifactId>
  208. <version>1.2.83</version>
  209. </dependency>
  210. </dependencies>
  211. <!--配置多环境打包-->
  212. <profiles>
  213. <!--开发环境-->
  214. <profile>
  215. <id>dev</id>
  216. <properties>
  217. <!--自定义的属性-->
  218. <spring.profiles.active>dev</spring.profiles.active>
  219. </properties>
  220. <activation>
  221. <!--如果不指定,则默认使用dev开发环境配置-->
  222. <activeByDefault>true</activeByDefault>
  223. </activation>
  224. </profile>
  225. <!-- 测试环境-->
  226. <profile>
  227. <id>test</id>
  228. <properties>
  229. <spring.profiles.active>test</spring.profiles.active>
  230. </properties>
  231. </profile>
  232. <!--生产环境-->
  233. <profile>
  234. <id>prod</id>
  235. <properties>
  236. <spring.profiles.active>prod</spring.profiles.active>
  237. </properties>
  238. </profile>
  239. </profiles>
  240. <build>
  241. <finalName>${project.name}</finalName>
  242. <resources>
  243. <resource>
  244. <directory>src/main/resources</directory>
  245. <filtering>true</filtering>
  246. </resource>
  247. <!-- 把 src/main/resources 下所有文件照常拷出去 -->
  248. <resource>
  249. <directory>src/main/resources</directory>
  250. <includes>
  251. <include>**/*.xml</include>
  252. <include>**/*.yml</include>
  253. <include>**/*.properties</include>
  254. </includes>
  255. </resource>
  256. <!-- 把 src/main/java 里的 xml 也一起拷出去 -->
  257. <resource>
  258. <directory>src/main/java</directory>
  259. <includes>
  260. <include>**/*.xml</include>
  261. </includes>
  262. </resource>
  263. </resources>
  264. <plugins>
  265. <plugin>
  266. <groupId>org.apache.maven.plugins</groupId>
  267. <artifactId>maven-compiler-plugin</artifactId>
  268. <configuration>
  269. <annotationProcessorPaths>
  270. <path>
  271. <groupId>org.projectlombok</groupId>
  272. <artifactId>lombok</artifactId>
  273. </path>
  274. </annotationProcessorPaths>
  275. </configuration>
  276. </plugin>
  277. <plugin>
  278. <groupId>org.springframework.boot</groupId>
  279. <artifactId>spring-boot-maven-plugin</artifactId>
  280. <configuration>
  281. <excludes>
  282. <exclude>
  283. <groupId>org.projectlombok</groupId>
  284. <artifactId>lombok</artifactId>
  285. </exclude>
  286. </excludes>
  287. </configuration>
  288. </plugin>
  289. </plugins>
  290. </build>
  291. </project>