pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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.2.5</version>
  10. <relativePath/> <!-- lookup parent from repository -->
  11. </parent>
  12. <groupId>pay.platform</groupId>
  13. <artifactId>core</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. <maven.compiler.release>21</maven.compiler.release>
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. <hutool.version>5.8.26</hutool.version>
  23. <bouncycastle.version>1.77</bouncycastle.version>
  24. <fastjson2.version>2.0.46</fastjson2.version>
  25. <mybatis-flex.version>1.8.2</mybatis-flex.version>
  26. </properties>
  27. <dependencies>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. <scope>provided</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.security</groupId>
  35. <artifactId>spring-security-crypto</artifactId>
  36. <scope>provided</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>jakarta.annotation</groupId>
  40. <artifactId>jakarta.annotation-api</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.projectlombok</groupId>
  44. <artifactId>lombok</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>cn.bzvs</groupId>
  48. <artifactId>json</artifactId>
  49. <version>1.0</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.alibaba.fastjson2</groupId>
  53. <artifactId>fastjson2-extension-spring6</artifactId>
  54. <version>${fastjson2.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>io.swagger.core.v3</groupId>
  58. <artifactId>swagger-annotations-jakarta</artifactId>
  59. <version>2.2.19</version>
  60. <scope>provided</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.mybatis-flex</groupId>
  64. <artifactId>mybatis-flex-spring-boot3-starter</artifactId>
  65. <version>${mybatis-flex.version}</version>
  66. </dependency>
  67. <!-- Hutool 相关 -->
  68. <dependency>
  69. <groupId>cn.hutool</groupId>
  70. <artifactId>hutool-all</artifactId>
  71. <version>${hutool.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.bouncycastle</groupId>
  75. <artifactId>bcpkix-jdk15to18</artifactId>
  76. <version>${bouncycastle.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.bouncycastle</groupId>
  80. <artifactId>bcprov-jdk15to18</artifactId>
  81. <version>${bouncycastle.version}</version>
  82. </dependency>
  83. </dependencies>
  84. <build>
  85. <plugins>
  86. <plugin>
  87. <groupId>org.apache.maven.plugins</groupId>
  88. <artifactId>maven-compiler-plugin</artifactId>
  89. <configuration>
  90. <source>${java.version}</source>
  91. <target>${java.version}</target>
  92. <compilerArgs>--enable-preview</compilerArgs>
  93. </configuration>
  94. </plugin>
  95. </plugins>
  96. </build>
  97. </project>