pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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. </properties>
  24. <dependencies>
  25. <!--cloud -->
  26. <!--Nacos-->
  27. <!-- 使用bootstrap.yml必须依赖此类 -->
  28. <!-- SpringCloud Openfeign -->
  29. <!-- SpringCloud Loadbalancer -->
  30. <!-- db -->
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-data-r2dbc</artifactId>
  34. </dependency>
  35. <!-- https://mvnrepository.com/artifact/io.asyncer/r2dbc-mysql -->
  36. <dependency>
  37. <groupId>io.asyncer</groupId>
  38. <artifactId>r2dbc-mysql</artifactId>
  39. <version>${r2dbc-mysql}</version>
  40. </dependency>
  41. <!-- r2dbc 连接池 -->
  42. <dependency>
  43. <groupId>io.r2dbc</groupId>
  44. <artifactId>r2dbc-pool</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-data-jdbc</artifactId>
  49. </dependency>
  50. <!--springdoc openapi swagger ui -->
  51. <dependency>
  52. <groupId>org.springdoc</groupId>
  53. <artifactId>springdoc-openapi-starter-webflux-ui</artifactId>
  54. <version>${openapi.ui}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springdoc</groupId>
  58. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  59. <version>${openapi.ui}</version>
  60. </dependency>
  61. <!--搭配校验使用-->
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-validation</artifactId>
  65. <version>${validation}</version>
  66. </dependency>
  67. <!--让响应结果更美观 -->
  68. <dependency>
  69. <groupId>com.alibaba.cola</groupId>
  70. <artifactId>cola-component-dto</artifactId>
  71. <version>${cola-component-dto}</version>
  72. </dependency>
  73. <!--elasticsearch -->
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-data-elasticsearch</artifactId>
  77. </dependency>
  78. <!--lombok -->
  79. <dependency>
  80. <groupId>org.projectlombok</groupId>
  81. <artifactId>lombok</artifactId>
  82. <optional>true</optional>
  83. </dependency>
  84. <!--test -->
  85. <dependency>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-starter-test</artifactId>
  88. <scope>test</scope>
  89. </dependency>
  90. </dependencies>
  91. </project>