pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. </dependencies>
  99. <build>
  100. <plugins>
  101. <plugin>
  102. <groupId>org.apache.maven.plugins</groupId>
  103. <artifactId>maven-compiler-plugin</artifactId>
  104. <configuration>
  105. <source>${java.version}</source>
  106. <target>${java.version}</target>
  107. <compilerArgs>--enable-preview</compilerArgs>
  108. </configuration>
  109. </plugin>
  110. <plugin>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-maven-plugin</artifactId>
  113. <configuration>
  114. <excludes>
  115. <exclude>
  116. <groupId>org.projectlombok</groupId>
  117. <artifactId>lombok</artifactId>
  118. </exclude>
  119. </excludes>
  120. </configuration>
  121. </plugin>
  122. </plugins>
  123. </build>
  124. </project>