pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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.2.0</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.toolPage</groupId>
  12. <artifactId>toolPageService</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>toolPageService</name>
  15. <description>ToolPage</description>
  16. <properties>
  17. <!-- 工程构建过程中读取源码时使用的字符集 -->
  18. <spring-data-bom>2023.1.0</spring-data-bom>
  19. <!-- 工程构建过程中读取源码时使用的字符集 -->
  20. <java.version>21</java.version>
  21. <r2dbc-mysql>1.0.5</r2dbc-mysql>
  22. <validation>3.2.0</validation>
  23. <cola-component-dto>4.3.2</cola-component-dto>
  24. <revision>2022.0.0.0</revision>
  25. <redis.clients>5.0.2</redis.clients>
  26. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  27. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  28. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  29. </properties>
  30. <dependencies>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-actuator</artifactId>
  34. <version>2.4.5</version>
  35. </dependency>
  36. <!--webflux-->
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-webflux</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.data</groupId>
  43. <artifactId>spring-data-bom</artifactId>
  44. <version>${spring-data-bom}</version>
  45. <scope>import</scope>
  46. <type>pom</type>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-data-r2dbc</artifactId>
  51. </dependency>
  52. <!-- https://mvnrepository.com/artifact/io.asyncer/r2dbc-mysql -->
  53. <dependency>
  54. <groupId>io.asyncer</groupId>
  55. <artifactId>r2dbc-mysql</artifactId>
  56. <version>${r2dbc-mysql}</version>
  57. </dependency>
  58. <!-- r2dbc 连接池 -->
  59. <dependency>
  60. <groupId>io.r2dbc</groupId>
  61. <artifactId>r2dbc-pool</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-data-jdbc</artifactId>
  66. </dependency>
  67. <!--搭配校验使用-->
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-validation</artifactId>
  71. <version>${validation}</version>
  72. </dependency>
  73. <!--lombok -->
  74. <dependency>
  75. <groupId>org.projectlombok</groupId>
  76. <artifactId>lombok</artifactId>
  77. <optional>true</optional>
  78. </dependency>
  79. <!--test -->
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-test</artifactId>
  83. <scope>test</scope>
  84. </dependency>
  85. </dependencies>
  86. <build>
  87. <plugins>
  88. <plugin>
  89. <groupId>org.apache.maven.plugins</groupId>
  90. <artifactId>maven-compiler-plugin</artifactId>
  91. <version>3.5.1</version>
  92. <configuration>
  93. <source>21</source>
  94. <target>21</target>
  95. </configuration>
  96. </plugin>
  97. <plugin>
  98. <groupId>org.apache.maven.plugins</groupId>
  99. <artifactId>maven-surefire-plugin</artifactId>
  100. <version>2.18.1</version>
  101. <configuration>
  102. <skipTests>true</skipTests>
  103. </configuration>
  104. </plugin>
  105. <plugin>
  106. <groupId>org.apache.maven.plugins</groupId>
  107. <artifactId>maven-deploy-plugin</artifactId>
  108. <version>2.8.2</version>
  109. <configuration>
  110. <skip>true</skip>
  111. </configuration>
  112. </plugin>
  113. <plugin>
  114. <groupId>org.springframework.boot</groupId>
  115. <artifactId>spring-boot-maven-plugin</artifactId>
  116. <configuration>
  117. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  118. <includeSystemScope>true</includeSystemScope>
  119. </configuration>
  120. <executions>
  121. <execution>
  122. <goals>
  123. <goal>repackage</goal>
  124. </goals>
  125. </execution>
  126. </executions>
  127. </plugin>
  128. </plugins>
  129. </build>
  130. <repositories>
  131. <repository>
  132. <id>spring-milestones</id>
  133. <name>Spring Milestones</name>
  134. <url>https://repo.spring.io/milestone</url>
  135. <snapshots>
  136. <enabled>false</enabled>
  137. </snapshots>
  138. </repository>
  139. </repositories>
  140. </project>