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.

241 lines
8.5 KiB

4 months ago
4 months ago
3 months ago
3 months ago
3 months ago
3 months ago
4 months ago
3 months ago
3 months ago
3 months ago
4 months ago
3 months ago
4 months ago
4 months ago
3 months ago
4 months ago
4 months ago
2 months ago
2 months ago
2 months ago
4 months ago
2 months ago
4 months ago
4 months ago
4 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>org.apache.poi</groupId>
  45. <artifactId>poi-ooxml</artifactId>
  46. <version>5.2.3</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-amqp</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.httpcomponents</groupId>
  58. <artifactId>httpclient</artifactId>
  59. <version>4.5.14</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.microsoft.sqlserver</groupId>
  63. <artifactId>mssql-jdbc</artifactId>
  64. <version>12.4.1.jre11</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>cn.hutool</groupId>
  68. <artifactId>hutool-all</artifactId>
  69. <version>5.8.24</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-web</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.flowable</groupId>
  77. <artifactId>flowable-spring-boot-starter</artifactId>
  78. <version>7.0.0</version> <!-- 请查看最新版本:https://mvnrepository.com/artifact/org.flowable -->
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-aop</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-starter-validation</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.mybatis.spring.boot</groupId>
  90. <artifactId>mybatis-spring-boot-starter</artifactId>
  91. <version>3.0.4</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.alibaba</groupId>
  95. <artifactId>easyexcel</artifactId>
  96. <version>3.1.3</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.fasterxml.jackson.core</groupId>
  100. <artifactId>jackson-databind</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.springframework.boot</groupId>
  104. <artifactId>spring-boot-devtools</artifactId>
  105. <scope>runtime</scope>
  106. <optional>true</optional>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.mysql</groupId>
  110. <artifactId>mysql-connector-j</artifactId>
  111. <scope>runtime</scope>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.projectlombok</groupId>
  115. <artifactId>lombok</artifactId>
  116. <optional>true</optional>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.springframework.boot</groupId>
  120. <artifactId>spring-boot-starter-test</artifactId>
  121. <scope>test</scope>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.mybatis.spring.boot</groupId>
  125. <artifactId>mybatis-spring-boot-starter-test</artifactId>
  126. <version>3.0.4</version>
  127. <scope>test</scope>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.baomidou</groupId>
  131. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  132. <version>3.5.2</version> <!-- 版本号可根据实际情况调整 -->
  133. </dependency>
  134. <dependency>
  135. <groupId>io.jsonwebtoken</groupId>
  136. <artifactId>jjwt</artifactId>
  137. <version>0.9.1</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.springframework.boot</groupId>
  141. <artifactId>spring-boot-starter-webflux</artifactId>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.springframework.boot</groupId>
  145. <artifactId>spring-boot-starter-security</artifactId>
  146. <version>3.3.6</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.springframework.boot</groupId>
  150. <artifactId>spring-boot-starter-data-redis</artifactId>
  151. </dependency>
  152. <dependency>
  153. <groupId>com.github.pagehelper</groupId>
  154. <artifactId>pagehelper-spring-boot-starter</artifactId>
  155. <version>1.4.6</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>jakarta.validation</groupId>
  159. <artifactId>jakarta.validation-api</artifactId>
  160. <version>3.0.2</version> <!-- Jakarta Validation规范版本 -->
  161. </dependency>
  162. <dependency>
  163. <groupId>org.hibernate.validator</groupId>
  164. <artifactId>hibernate-validator</artifactId>
  165. <version>8.0.0.Final</version> <!-- 对应Spring Boot 3的实现版本 -->
  166. </dependency>
  167. <dependency>
  168. <groupId>javax.xml.bind</groupId>
  169. <artifactId>jaxb-api</artifactId>
  170. <version>2.3.1</version>
  171. </dependency>
  172. </dependencies>
  173. <!--配置多环境打包-->
  174. <profiles>
  175. <!--开发环境-->
  176. <profile>
  177. <id>dev</id>
  178. <properties>
  179. <!--自定义的属性-->
  180. <spring.profiles.active>dev</spring.profiles.active>
  181. </properties>
  182. <activation>
  183. <!--如果不指定,则默认使用dev开发环境配置-->
  184. <activeByDefault>true</activeByDefault>
  185. </activation>
  186. </profile>
  187. <!-- 测试环境-->
  188. <profile>
  189. <id>test</id>
  190. <properties>
  191. <spring.profiles.active>test</spring.profiles.active>
  192. </properties>
  193. </profile>
  194. <!--生产环境-->
  195. <profile>
  196. <id>prod</id>
  197. <properties>
  198. <spring.profiles.active>prod</spring.profiles.active>
  199. </properties>
  200. </profile>
  201. </profiles>
  202. <build>
  203. <finalName>${project.name}</finalName>
  204. <resources>
  205. <resource>
  206. <directory>src/main/resources</directory>
  207. <filtering>true</filtering>
  208. </resource>
  209. </resources>
  210. <plugins>
  211. <plugin>
  212. <groupId>org.apache.maven.plugins</groupId>
  213. <artifactId>maven-compiler-plugin</artifactId>
  214. <configuration>
  215. <annotationProcessorPaths>
  216. <path>
  217. <groupId>org.projectlombok</groupId>
  218. <artifactId>lombok</artifactId>
  219. </path>
  220. </annotationProcessorPaths>
  221. </configuration>
  222. </plugin>
  223. <plugin>
  224. <groupId>org.springframework.boot</groupId>
  225. <artifactId>spring-boot-maven-plugin</artifactId>
  226. <configuration>
  227. <excludes>
  228. <exclude>
  229. <groupId>org.projectlombok</groupId>
  230. <artifactId>lombok</artifactId>
  231. </exclude>
  232. </excludes>
  233. </configuration>
  234. </plugin>
  235. </plugins>
  236. </build>
  237. </project>