pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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>com.launch.webflux</groupId>
  7. <artifactId>launch</artifactId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <artifactId>launch-r2dbc</artifactId>
  11. <description>Demo project for Spring Boot</description>
  12. <properties>
  13. <!-- 工程构建过程中读取源码时使用的字符集 -->
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <java.version>21</java.version>
  16. <spring-cloud.version>2023.0.0-RC1</spring-cloud.version>
  17. <nacos.client.version>2.2.1</nacos.client.version>
  18. <r2dbc-mysql>1.0.5</r2dbc-mysql>
  19. <openapi.ui>2.2.0</openapi.ui>
  20. <validation>3.2.0</validation>
  21. <cola-component-dto>4.3.2</cola-component-dto>
  22. <revision>2022.0.0.0</revision>
  23. <jakarta-revision>2.1.3</jakarta-revision>
  24. <hpt-revision>4.5.13</hpt-revision>
  25. </properties>
  26. <dependencies>
  27. <!--cloud -->
  28. <!--Nacos-->
  29. <!-- 使用bootstrap.yml必须依赖此类 -->
  30. <!-- SpringCloud Openfeign -->
  31. <!-- SpringCloud Loadbalancer -->
  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. <!-- r2dbc 连接池 -->
  44. <dependency>
  45. <groupId>io.r2dbc</groupId>
  46. <artifactId>r2dbc-pool</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-data-jdbc</artifactId>
  51. </dependency>
  52. <!--springdoc openapi swagger ui -->
  53. <dependency>
  54. <groupId>org.springdoc</groupId>
  55. <artifactId>springdoc-openapi-starter-webflux-ui</artifactId>
  56. <version>${openapi.ui}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springdoc</groupId>
  60. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  61. <version>${openapi.ui}</version>
  62. </dependency>
  63. <!--搭配校验使用-->
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-validation</artifactId>
  67. <version>${validation}</version>
  68. </dependency>
  69. <!--让响应结果更美观 -->
  70. <dependency>
  71. <groupId>com.alibaba.cola</groupId>
  72. <artifactId>cola-component-dto</artifactId>
  73. <version>${cola-component-dto}</version>
  74. </dependency>
  75. <!--elasticsearch -->
  76. <!-- <dependency>-->
  77. <!-- <groupId>org.springframework.boot</groupId>-->
  78. <!-- <artifactId>spring-boot-starter-data-elasticsearch</artifactId>-->
  79. <!-- </dependency>-->
  80. <dependency>
  81. <groupId>jakarta.json</groupId>
  82. <artifactId>jakarta.json-api</artifactId>
  83. <version>${jakarta-revision}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.httpcomponents</groupId>
  87. <artifactId>httpclient</artifactId>
  88. <version>${hpt-revision}</version>
  89. </dependency>
  90. <!--lombok -->
  91. <dependency>
  92. <groupId>org.projectlombok</groupId>
  93. <artifactId>lombok</artifactId>
  94. <optional>true</optional>
  95. </dependency>
  96. <!--test -->
  97. <dependency>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-starter-test</artifactId>
  100. <scope>test</scope>
  101. </dependency>
  102. </dependencies>
  103. </project>