pom.xml 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. <?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.payment</groupId>
  7. <artifactId>payment-platform</artifactId>
  8. <version>1.0.0</version>
  9. <name>Payment Platform</name>
  10. <description>Alipay enterprise expense-control payment platform</description>
  11. <properties>
  12. <java.version>21</java.version>
  13. <maven.compiler.source>21</maven.compiler.source>
  14. <maven.compiler.target>21</maven.compiler.target>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <spring-boot.version>3.2.5</spring-boot.version>
  17. <mybatis-plus.version>3.5.5</mybatis-plus.version>
  18. <druid.version>1.2.20</druid.version>
  19. <mapstruct.version>1.5.5.Final</mapstruct.version>
  20. <hutool.version>5.8.34</hutool.version>
  21. <knife4j.version>4.5.0</knife4j.version>
  22. <jjwt.version>0.12.6</jjwt.version>
  23. <groovy.version>4.0.24</groovy.version>
  24. <easyexcel.version>4.0.3</easyexcel.version>
  25. </properties>
  26. <dependencyManagement>
  27. <dependencies>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-dependencies</artifactId>
  31. <version>${spring-boot.version}</version>
  32. <type>pom</type>
  33. <scope>import</scope>
  34. </dependency>
  35. </dependencies>
  36. </dependencyManagement>
  37. <dependencies>
  38. <!-- Spring Boot Web -->
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-web</artifactId>
  42. </dependency>
  43. <!-- Spring Security -->
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-security</artifactId>
  47. </dependency>
  48. <!-- Spring Data Redis -->
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-data-redis</artifactId>
  52. </dependency>
  53. <!-- Spring Validation -->
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-validation</artifactId>
  57. </dependency>
  58. <!-- MyBatis-Plus -->
  59. <dependency>
  60. <groupId>com.baomidou</groupId>
  61. <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
  62. <version>${mybatis-plus.version}</version>
  63. </dependency>
  64. <!-- PostgreSQL -->
  65. <dependency>
  66. <groupId>org.postgresql</groupId>
  67. <artifactId>postgresql</artifactId>
  68. <scope>runtime</scope>
  69. </dependency>
  70. <!-- Druid Connection Pool -->
  71. <dependency>
  72. <groupId>com.alibaba</groupId>
  73. <artifactId>druid-spring-boot-3-starter</artifactId>
  74. <version>${druid.version}</version>
  75. </dependency>
  76. <!-- Groovy (dynamic script execution, replaces Python exec) -->
  77. <dependency>
  78. <groupId>org.apache.groovy</groupId>
  79. <artifactId>groovy</artifactId>
  80. <version>${groovy.version}</version>
  81. </dependency>
  82. <!-- JWT -->
  83. <dependency>
  84. <groupId>io.jsonwebtoken</groupId>
  85. <artifactId>jjwt-api</artifactId>
  86. <version>${jjwt.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>io.jsonwebtoken</groupId>
  90. <artifactId>jjwt-impl</artifactId>
  91. <version>${jjwt.version}</version>
  92. <scope>runtime</scope>
  93. </dependency>
  94. <dependency>
  95. <groupId>io.jsonwebtoken</groupId>
  96. <artifactId>jjwt-jackson</artifactId>
  97. <version>${jjwt.version}</version>
  98. <scope>runtime</scope>
  99. </dependency>
  100. <!-- Lombok -->
  101. <dependency>
  102. <groupId>org.projectlombok</groupId>
  103. <artifactId>lombok</artifactId>
  104. <optional>true</optional>
  105. </dependency>
  106. <!-- MapStruct -->
  107. <dependency>
  108. <groupId>org.mapstruct</groupId>
  109. <artifactId>mapstruct</artifactId>
  110. <version>${mapstruct.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.mapstruct</groupId>
  114. <artifactId>mapstruct-processor</artifactId>
  115. <version>${mapstruct.version}</version>
  116. <scope>provided</scope>
  117. </dependency>
  118. <!-- Knife4j API Doc -->
  119. <dependency>
  120. <groupId>com.github.xiaoymin</groupId>
  121. <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
  122. <version>${knife4j.version}</version>
  123. </dependency>
  124. <!-- Hutool -->
  125. <dependency>
  126. <groupId>cn.hutool</groupId>
  127. <artifactId>hutool-all</artifactId>
  128. <version>${hutool.version}</version>
  129. </dependency>
  130. <!-- Alipay SDK Java -->
  131. <dependency>
  132. <groupId>com.alipay.sdk</groupId>
  133. <artifactId>alipay-sdk-java</artifactId>
  134. <version>4.39.218.ALL</version>
  135. </dependency>
  136. <!-- Alibaba Cloud SMS -->
  137. <dependency>
  138. <groupId>com.aliyun</groupId>
  139. <artifactId>dysmsapi20170525</artifactId>
  140. <version>3.1.0</version>
  141. </dependency>
  142. <!-- Alibaba Cloud OSS -->
  143. <dependency>
  144. <groupId>com.aliyun.oss</groupId>
  145. <artifactId>aliyun-sdk-oss</artifactId>
  146. <version>3.17.4</version>
  147. </dependency>
  148. <!-- EasyExcel -->
  149. <dependency>
  150. <groupId>com.alibaba</groupId>
  151. <artifactId>easyexcel</artifactId>
  152. <version>${easyexcel.version}</version>
  153. </dependency>
  154. <!-- Apache Commons Pool2 (Redis连接池) -->
  155. <dependency>
  156. <groupId>org.apache.commons</groupId>
  157. <artifactId>commons-pool2</artifactId>
  158. </dependency>
  159. <!-- Test -->
  160. <dependency>
  161. <groupId>org.springframework.boot</groupId>
  162. <artifactId>spring-boot-starter-test</artifactId>
  163. <scope>test</scope>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.springframework.security</groupId>
  167. <artifactId>spring-security-test</artifactId>
  168. <scope>test</scope>
  169. </dependency>
  170. </dependencies>
  171. <build>
  172. <plugins>
  173. <plugin>
  174. <groupId>org.springframework.boot</groupId>
  175. <artifactId>spring-boot-maven-plugin</artifactId>
  176. <version>${spring-boot.version}</version>
  177. <configuration>
  178. <excludes>
  179. <exclude>
  180. <groupId>org.projectlombok</groupId>
  181. <artifactId>lombok</artifactId>
  182. </exclude>
  183. </excludes>
  184. </configuration>
  185. </plugin>
  186. <plugin>
  187. <groupId>org.apache.maven.plugins</groupId>
  188. <artifactId>maven-compiler-plugin</artifactId>
  189. <version>3.12.1</version>
  190. <configuration>
  191. <parameters>true</parameters>
  192. <source>${java.version}</source>
  193. <target>${java.version}</target>
  194. <annotationProcessorPaths>
  195. <path>
  196. <groupId>org.projectlombok</groupId>
  197. <artifactId>lombok</artifactId>
  198. </path>
  199. <path>
  200. <groupId>org.mapstruct</groupId>
  201. <artifactId>mapstruct-processor</artifactId>
  202. <version>${mapstruct.version}</version>
  203. </path>
  204. <path>
  205. <groupId>org.projectlombok</groupId>
  206. <artifactId>lombok-mapstruct-binding</artifactId>
  207. <version>0.2.0</version>
  208. </path>
  209. </annotationProcessorPaths>
  210. </configuration>
  211. </plugin>
  212. </plugins>
  213. </build>
  214. </project>