pom.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>3.3.0</version>
  10. <relativePath/> <!-- lookup parent from repository -->
  11. </parent>
  12. <groupId>pay.platform</groupId>
  13. <artifactId>open-api</artifactId>
  14. <version>1.0.0-SNAPSHOT</version>
  15. <description>开放接口</description>
  16. <properties>
  17. <java.version>21</java.version>
  18. <maven.compiler.source>21</maven.compiler.source>
  19. <maven.compiler.target>21</maven.compiler.target>
  20. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  21. <knife4j.version>4.4.0</knife4j.version>
  22. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-actuator</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-data-redis</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-validation</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-web</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.projectlombok</groupId>
  42. <artifactId>lombok</artifactId>
  43. <optional>true</optional>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-test</artifactId>
  48. <scope>test</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.security</groupId>
  52. <artifactId>spring-security-test</artifactId>
  53. <scope>test</scope>
  54. </dependency>
  55. <!-- MQ驱动 -->
  56. <dependency>
  57. <groupId>org.noear</groupId>
  58. <artifactId>folkmq-transport-netty</artifactId>
  59. <version>1.3.2</version>
  60. </dependency>
  61. <!-- 数据库 -->
  62. <dependency>
  63. <groupId>com.zaxxer</groupId>
  64. <artifactId>HikariCP</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.mysql</groupId>
  68. <artifactId>mysql-connector-j</artifactId>
  69. <scope>runtime</scope>
  70. </dependency>
  71. <!-- Doc -->
  72. <dependency>
  73. <groupId>com.github.xiaoymin</groupId>
  74. <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
  75. <version>${knife4j.version}</version>
  76. </dependency>
  77. <!-- 引入db模块 -->
  78. <dependency>
  79. <groupId>pay.platform</groupId>
  80. <artifactId>db-system</artifactId>
  81. <version>1.0.0-SNAPSHOT</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>pay.platform</groupId>
  85. <artifactId>db-merchant</artifactId>
  86. <version>1.0.0-SNAPSHOT</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>pay.platform</groupId>
  90. <artifactId>db-agent</artifactId>
  91. <version>1.0.0-SNAPSHOT</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>pay.platform</groupId>
  95. <artifactId>pay</artifactId>
  96. <version>1.0.0-SNAPSHOT</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-autoconfigure</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.springframework.boot</groupId>
  104. <artifactId>spring-boot-autoconfigure-processor</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.skycong</groupId>
  108. <artifactId>log-record</artifactId>
  109. <version>0.0.1</version>
  110. </dependency>
  111. </dependencies>
  112. <build>
  113. <plugins>
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-compiler-plugin</artifactId>
  117. <configuration>
  118. <source>${java.version}</source>
  119. <target>${java.version}</target>
  120. <compilerArgs>--enable-preview</compilerArgs>
  121. </configuration>
  122. </plugin>
  123. <plugin>
  124. <groupId>org.springframework.boot</groupId>
  125. <artifactId>spring-boot-maven-plugin</artifactId>
  126. <configuration>
  127. <excludes>
  128. <exclude>
  129. <groupId>org.projectlombok</groupId>
  130. <artifactId>lombok</artifactId>
  131. </exclude>
  132. </excludes>
  133. </configuration>
  134. </plugin>
  135. <!-- <plugin>-->
  136. <!-- <groupId>com.google.cloud.tools</groupId>-->
  137. <!-- <artifactId>jib-maven-plugin</artifactId>-->
  138. <!-- <version>3.4.2</version>-->
  139. <!-- <configuration>-->
  140. <!-- &lt;!&ndash; 拉取所需的基础镜像 - 这里的jdk21,是用于运行springboot项目 &ndash;&gt;-->
  141. <!-- <from>-->
  142. <!-- <image>taskgo/corretto:21</image>-->
  143. <!-- </from>-->
  144. <!-- &lt;!&ndash; 最后生成的镜像配置 &ndash;&gt;-->
  145. <!-- <to>-->
  146. <!-- &lt;!&ndash; push docker 仓库。用户名/镜像名 &ndash;&gt;-->
  147. <!-- <image>hkccr.ccs.tencentyun.com/pay-platform/open-api</image>-->
  148. <!-- <tags>-->
  149. <!-- &lt;!&ndash;版本号&ndash;&gt;-->
  150. <!-- <tag>latest</tag>-->
  151. <!-- </tags>-->
  152. <!-- <auth>-->
  153. <!-- &lt;!&ndash;账号和密码&ndash;&gt;-->
  154. <!-- <username>100004270996</username>-->
  155. <!-- <password>open@2023</password>-->
  156. <!-- </auth>-->
  157. <!-- </to>-->
  158. <!-- <container>-->
  159. <!-- <jvmFlags>-->
  160. <!-- <jvmFlag>&#45;&#45;enable-preview</jvmFlag>-->
  161. <!-- <jvmFlag>-Xmx1g</jvmFlag>-->
  162. <!-- <jvmFlag>-Xmx1g</jvmFlag>-->
  163. <!-- <jvmFlag>-Duser.timezone=Asia/Shanghai</jvmFlag>-->
  164. <!-- </jvmFlags>-->
  165. <!-- <mainClass>pay.platform.ApiApplication</mainClass>-->
  166. <!-- <ports>-->
  167. <!-- <port>8091</port>-->
  168. <!-- </ports>-->
  169. <!-- </container>-->
  170. <!-- <allowInsecureRegistries>true</allowInsecureRegistries>-->
  171. <!-- </configuration>-->
  172. <!-- <executions>-->
  173. <!-- <execution>-->
  174. <!-- <phase>package</phase>-->
  175. <!-- <goals>-->
  176. <!-- <goal>build</goal>-->
  177. <!-- </goals>-->
  178. <!-- </execution>-->
  179. <!-- </executions>-->
  180. <!-- </plugin>-->
  181. </plugins>
  182. </build>
  183. </project>