pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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.sf</groupId>
  7. <artifactId>demo-12306</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <groupId>com.sf</groupId>
  11. <artifactId>my-order-service</artifactId>
  12. <version>0.0.1-SNAPSHOT</version>
  13. <name>my-order-service</name>
  14. <description>my-order-service</description>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <java.version>17</java.version>
  18. <mybatis-plus.version>3.5.3</mybatis-plus.version>
  19. <springdoc.version>2.0.2</springdoc.version>
  20. <shardingsphere.version>5.3.2</shardingsphere.version>
  21. <lombok.version>1.18.32</lombok.version>
  22. <index12306.version>0.0.1-SNAPSHOT</index12306.version>
  23. </properties>
  24. <dependencies>
  25. <!-- springboot 的web依赖-->
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-web</artifactId>
  29. </dependency>
  30. <!-- mybatis plus 的依赖-->
  31. <dependency>
  32. <groupId>com.baomidou</groupId>
  33. <artifactId>mybatis-plus-boot-starter</artifactId>
  34. <version>${mybatis-plus.version}</version>
  35. </dependency>
  36. <!-- mysql驱动 的依赖-->
  37. <dependency>
  38. <groupId>com.mysql</groupId>
  39. <artifactId>mysql-connector-j</artifactId>
  40. <scope>runtime</scope>
  41. </dependency>
  42. <!-- 整合jdbc -->
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-jdbc</artifactId>
  46. </dependency>
  47. <!-- lombok -->
  48. <dependency>
  49. <groupId>org.projectlombok</groupId>
  50. <artifactId>lombok</artifactId>
  51. <version>${lombok.version}</version>
  52. </dependency>
  53. <!-- 分库分表中间件 -->
  54. <dependency>
  55. <groupId>org.apache.shardingsphere</groupId>
  56. <artifactId>shardingsphere-jdbc-core</artifactId>
  57. <version>${shardingsphere.version}</version>
  58. </dependency>
  59. <!-- swagger -->
  60. <dependency>
  61. <groupId>org.springdoc</groupId>
  62. <artifactId>springdoc-openapi-starter-webmvc-api</artifactId>
  63. <version>${springdoc.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springdoc</groupId>
  67. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  68. <version>${springdoc.version}</version>
  69. </dependency>
  70. <!-- 测试 -->
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-test</artifactId>
  74. <scope>test</scope>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.opengoofy.index12306</groupId>
  78. <artifactId>index12306-database-spring-boot-starter</artifactId>
  79. <version>${index12306.version}</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.opengoofy.index12306</groupId>
  83. <artifactId>index12306-user-spring-boot-starter</artifactId>
  84. <version>${index12306.version}</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.opengoofy.index12306</groupId>
  88. <artifactId>index12306-web-spring-boot-starter</artifactId>
  89. <version>${index12306.version}</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.opengoofy.index12306</groupId>
  93. <artifactId>index12306-cache-spring-boot-starter</artifactId>
  94. <version>${index12306.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.opengoofy.index12306</groupId>
  98. <artifactId>index12306-convention-spring-boot-starter</artifactId>
  99. <version>${index12306.version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.opengoofy.index12306</groupId>
  103. <artifactId>index12306-base-spring-boot-starter</artifactId>
  104. <version>${index12306.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.opengoofy.index12306</groupId>
  108. <artifactId>index12306-log-spring-boot-starter</artifactId>
  109. <version>${index12306.version}</version>
  110. </dependency>
  111. <!-- 微服务相关依赖 -->
  112. <dependency>
  113. <groupId>com.alibaba.cloud</groupId>
  114. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.alibaba.cloud</groupId>
  118. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.springframework.cloud</groupId>
  122. <artifactId>spring-cloud-starter-openfeign</artifactId>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.springframework.cloud</groupId>
  126. <artifactId>spring-cloud-starter-loadbalancer</artifactId>
  127. </dependency>
  128. <!-- <dependency>-->
  129. <!-- <groupId>org.springframework.cloud</groupId>-->
  130. <!-- <artifactId>spring-cloud-starter-bootstrap</artifactId>-->
  131. <!-- </dependency>-->
  132. <dependency>
  133. <groupId>com.alibaba.cloud</groupId>
  134. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  135. </dependency>
  136. </dependencies>
  137. <build>
  138. <plugins>
  139. <plugin>
  140. <groupId>org.springframework.boot</groupId>
  141. <artifactId>spring-boot-maven-plugin</artifactId>
  142. </plugin>
  143. </plugins>
  144. </build>
  145. </project>