pom.xml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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.0</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>pay.platform</groupId>
  12. <artifactId>admin-api</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <description>系统接口</description>
  15. <properties>
  16. <java.version>21</java.version>
  17. <maven.compiler.source>21</maven.compiler.source>
  18. <maven.compiler.target>21</maven.compiler.target>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. <jwt.version>4.4.0</jwt.version>
  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. <!-- 安全 -->
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-security</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.auth0</groupId>
  62. <artifactId>java-jwt</artifactId>
  63. <version>${jwt.version}</version>
  64. </dependency>
  65. <!-- 数据库 -->
  66. <dependency>
  67. <groupId>com.zaxxer</groupId>
  68. <artifactId>HikariCP</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.mysql</groupId>
  72. <artifactId>mysql-connector-j</artifactId>
  73. <scope>runtime</scope>
  74. </dependency>
  75. <!-- Doc -->
  76. <dependency>
  77. <groupId>com.github.xiaoymin</groupId>
  78. <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
  79. <version>${knife4j.version}</version>
  80. </dependency>
  81. <!-- 引入db模块 -->
  82. <dependency>
  83. <groupId>pay.platform</groupId>
  84. <artifactId>db-system</artifactId>
  85. <version>1.0.0-SNAPSHOT</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>pay.platform</groupId>
  89. <artifactId>db-agent</artifactId>
  90. <version>1.0.0-SNAPSHOT</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>cn.bzvs</groupId>
  94. <artifactId>otp-auth</artifactId>
  95. <version>1.0</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>cn.monitor4all</groupId>
  99. <artifactId>log-record-springboot3-starter</artifactId>
  100. <version>1.6.3</version>
  101. </dependency>
  102. </dependencies>
  103. <build>
  104. <plugins>
  105. <plugin>
  106. <groupId>org.apache.maven.plugins</groupId>
  107. <artifactId>maven-compiler-plugin</artifactId>
  108. <configuration>
  109. <source>${java.version}</source>
  110. <target>${java.version}</target>
  111. <compilerArgs>--enable-preview</compilerArgs>
  112. </configuration>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-maven-plugin</artifactId>
  117. <configuration>
  118. <excludes>
  119. <exclude>
  120. <groupId>org.projectlombok</groupId>
  121. <artifactId>lombok</artifactId>
  122. </exclude>
  123. </excludes>
  124. </configuration>
  125. </plugin>
  126. <!-- <plugin>-->
  127. <!-- <groupId>com.google.cloud.tools</groupId>-->
  128. <!-- <artifactId>jib-maven-plugin</artifactId>-->
  129. <!-- <version>3.4.2</version>-->
  130. <!-- <configuration>-->
  131. <!-- &lt;!&ndash; 拉取所需的基础镜像 - 这里的jdk21,是用于运行springboot项目 &ndash;&gt;-->
  132. <!-- <from>-->
  133. <!-- <image>taskgo/corretto:21</image>-->
  134. <!-- </from>-->
  135. <!-- &lt;!&ndash; 最后生成的镜像配置 &ndash;&gt;-->
  136. <!-- <to>-->
  137. <!-- &lt;!&ndash; push docker 仓库。用户名/镜像名 &ndash;&gt;-->
  138. <!-- <image>hkccr.ccs.tencentyun.com/pay-platform/admin-api</image>-->
  139. <!-- <tags>-->
  140. <!-- &lt;!&ndash;版本号&ndash;&gt;-->
  141. <!-- <tag>latest</tag>-->
  142. <!-- </tags>-->
  143. <!-- <auth>-->
  144. <!-- &lt;!&ndash;账号和密码&ndash;&gt;-->
  145. <!-- <username>100004270996</username>-->
  146. <!-- <password>open@2023</password>-->
  147. <!-- </auth>-->
  148. <!-- </to>-->
  149. <!-- <container>-->
  150. <!-- <jvmFlags>-->
  151. <!-- <jvmFlag>&#45;&#45;enable-preview</jvmFlag>-->
  152. <!-- <jvmFlag>-Xmx1g</jvmFlag>-->
  153. <!-- <jvmFlag>-Xmx1g</jvmFlag>-->
  154. <!-- <jvmFlag>-Duser.timezone=Asia/Shanghai</jvmFlag>-->
  155. <!-- </jvmFlags>-->
  156. <!-- <mainClass>pay.platform.AdminApplication</mainClass>-->
  157. <!-- <ports>-->
  158. <!-- <port>8088</port>-->
  159. <!-- </ports>-->
  160. <!-- </container>-->
  161. <!-- <allowInsecureRegistries>true</allowInsecureRegistries>-->
  162. <!-- </configuration>-->
  163. <!-- <executions>-->
  164. <!-- <execution>-->
  165. <!-- <phase>package</phase>-->
  166. <!-- <goals>-->
  167. <!-- <goal>build</goal>-->
  168. <!-- </goals>-->
  169. <!-- </execution>-->
  170. <!-- </executions>-->
  171. <!-- </plugin>-->
  172. </plugins>
  173. </build>
  174. </project>