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.

236 lines
8.3 KiB

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