pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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>agent-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. <jwt.version>4.4.0</jwt.version>
  22. <knife4j.version>4.4.0</knife4j.version>
  23. </properties>
  24. <dependencies>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-actuator</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-data-redis</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-validation</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-web</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.projectlombok</groupId>
  43. <artifactId>lombok</artifactId>
  44. <optional>true</optional>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-test</artifactId>
  49. <scope>test</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.security</groupId>
  53. <artifactId>spring-security-test</artifactId>
  54. <scope>test</scope>
  55. </dependency>
  56. <!-- 安全 -->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-security</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.auth0</groupId>
  63. <artifactId>java-jwt</artifactId>
  64. <version>${jwt.version}</version>
  65. </dependency>
  66. <!-- 数据库 -->
  67. <dependency>
  68. <groupId>com.zaxxer</groupId>
  69. <artifactId>HikariCP</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.mysql</groupId>
  73. <artifactId>mysql-connector-j</artifactId>
  74. <scope>runtime</scope>
  75. </dependency>
  76. <dependency>
  77. <groupId>pay.platform</groupId>
  78. <artifactId>core</artifactId>
  79. <version>1.0.0-SNAPSHOT</version>
  80. </dependency>
  81. <!-- Doc -->
  82. <dependency>
  83. <groupId>com.github.xiaoymin</groupId>
  84. <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
  85. <version>${knife4j.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>cn.bzvs</groupId>
  89. <artifactId>otp-auth</artifactId>
  90. <version>1.0</version>
  91. <scope>compile</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>pay.platform</groupId>
  95. <artifactId>db-agent</artifactId>
  96. <version>1.0.0-SNAPSHOT</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>pay.platform</groupId>
  100. <artifactId>db-system</artifactId>
  101. <version>1.0.0-SNAPSHOT</version>
  102. </dependency>
  103. </dependencies>
  104. <build>
  105. <plugins>
  106. <plugin>
  107. <groupId>org.apache.maven.plugins</groupId>
  108. <artifactId>maven-compiler-plugin</artifactId>
  109. <configuration>
  110. <source>${java.version}</source>
  111. <target>${java.version}</target>
  112. <compilerArgs>--enable-preview</compilerArgs>
  113. </configuration>
  114. </plugin>
  115. <plugin>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-maven-plugin</artifactId>
  118. <configuration>
  119. <excludes>
  120. <exclude>
  121. <groupId>org.projectlombok</groupId>
  122. <artifactId>lombok</artifactId>
  123. </exclude>
  124. </excludes>
  125. </configuration>
  126. </plugin>
  127. </plugins>
  128. </build>
  129. </project>