pom.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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. <!-- 关联父类-->
  6. <parent>
  7. <groupId>com.launch.webflux</groupId>
  8. <artifactId>launch</artifactId>
  9. <version>1.0.0</version>
  10. </parent>
  11. <artifactId>launch-admin</artifactId>
  12. <description>Demo project for Spring Boot</description>
  13. <packaging>jar</packaging>
  14. <properties>
  15. <!-- 工程构建过程中读取源码时使用的字符集 -->
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <java.version>21</java.version>
  18. <spring-cloud.version>2023.0.0-RC1</spring-cloud.version>
  19. <r2dbc-mysql>1.0.5</r2dbc-mysql>
  20. <openapi.ui>2.2.0</openapi.ui>
  21. <validation>3.2.0</validation>
  22. <cola-component-dto>4.3.2</cola-component-dto>
  23. <revision>2022.0.0.0</revision>
  24. <redis.clients>5.0.2</redis.clients>
  25. </properties>
  26. <dependencies>
  27. <!-- <dependency>-->
  28. <!-- <groupId>redis.clients</groupId>-->
  29. <!-- <artifactId>jedis</artifactId>-->
  30. <!-- <version>2.9.0</version>-->
  31. <!-- </dependency>-->
  32. <!-- db -->
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-data-r2dbc</artifactId>
  36. </dependency>
  37. <!-- https://mvnrepository.com/artifact/io.asyncer/r2dbc-mysql -->
  38. <dependency>
  39. <groupId>io.asyncer</groupId>
  40. <artifactId>r2dbc-mysql</artifactId>
  41. <version>${r2dbc-mysql}</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>cn.hutool</groupId>
  45. <artifactId>hutool-all</artifactId>
  46. <version>5.3.7</version>
  47. </dependency>
  48. <!--单点登录 -->
  49. <!-- <dependency>-->
  50. <!-- <groupId>com.xuxueli</groupId>-->
  51. <!-- <artifactId>xxl-sso-core</artifactId>-->
  52. <!-- <version>1.1.1-SNAPSHOT</version>-->
  53. <!-- </dependency>-->
  54. <!-- r2dbc 连接池 -->
  55. <dependency>
  56. <groupId>io.r2dbc</groupId>
  57. <artifactId>r2dbc-pool</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-data-jdbc</artifactId>
  62. </dependency>
  63. <!--springdoc openapi swagger ui -->
  64. <dependency>
  65. <groupId>org.springdoc</groupId>
  66. <artifactId>springdoc-openapi-starter-webflux-ui</artifactId>
  67. <version>${openapi.ui}</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springdoc</groupId>
  71. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  72. <version>${openapi.ui}</version>
  73. </dependency>
  74. <!--搭配校验使用-->
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-validation</artifactId>
  78. <version>${validation}</version>
  79. </dependency>
  80. <!--让响应结果更美观 -->
  81. <dependency>
  82. <groupId>com.alibaba.cola</groupId>
  83. <artifactId>cola-component-dto</artifactId>
  84. <version>${cola-component-dto}</version>
  85. </dependency>
  86. <!--lombok -->
  87. <dependency>
  88. <groupId>org.projectlombok</groupId>
  89. <artifactId>lombok</artifactId>
  90. <optional>true</optional>
  91. </dependency>
  92. <!--test -->
  93. <dependency>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-starter-test</artifactId>
  96. <scope>test</scope>
  97. </dependency>
  98. <!--models-->
  99. <dependency>
  100. <groupId>com.launch.webflux</groupId>
  101. <artifactId>launch-common</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.launch.webflux</groupId>
  105. <artifactId>launch-r2dbc</artifactId>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.launch.webflux</groupId>
  109. <artifactId>launch-redis</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.launch.webflux</groupId>
  113. <artifactId>launch-elasticsearch</artifactId>
  114. </dependency>
  115. </dependencies>
  116. <build>
  117. <plugins>
  118. <plugin>
  119. <groupId>org.apache.maven.plugins</groupId>
  120. <artifactId>maven-compiler-plugin</artifactId>
  121. <version>3.5.1</version>
  122. <configuration>
  123. <source>21</source>
  124. <target>21</target>
  125. </configuration>
  126. </plugin>
  127. <plugin>
  128. <groupId>org.apache.maven.plugins</groupId>
  129. <artifactId>maven-surefire-plugin</artifactId>
  130. <version>2.18.1</version>
  131. <configuration>
  132. <skipTests>true</skipTests>
  133. </configuration>
  134. </plugin>
  135. <plugin>
  136. <groupId>org.apache.maven.plugins</groupId>
  137. <artifactId>maven-deploy-plugin</artifactId>
  138. <version>2.8.2</version>
  139. <configuration>
  140. <skip>true</skip>
  141. </configuration>
  142. </plugin>
  143. <plugin>
  144. <groupId>org.springframework.boot</groupId>
  145. <artifactId>spring-boot-maven-plugin</artifactId>
  146. <configuration>
  147. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  148. <includeSystemScope>true</includeSystemScope>
  149. </configuration>
  150. <executions>
  151. <execution>
  152. <goals>
  153. <goal>repackage</goal>
  154. </goals>
  155. </execution>
  156. </executions>
  157. </plugin>
  158. </plugins>
  159. </build>
  160. <repositories>
  161. <repository>
  162. <id>spring-milestones</id>
  163. <name>Spring Milestones</name>
  164. <url>https://repo.spring.io/milestone</url>
  165. <snapshots>
  166. <enabled>false</enabled>
  167. </snapshots>
  168. </repository>
  169. </repositories>
  170. </project>