pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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. <artifactId>spring5-admin</artifactId>
  6. <packaging>jar</packaging>
  7. <name>${project.artifactId}</name>
  8. <description>spring5 demo</description>
  9. <!-- Spring Boot 启动父依赖 -->
  10. <parent>
  11. <groupId>com.yaozhitech</groupId>
  12. <artifactId>spring5</artifactId>
  13. <version>0.1.0</version>
  14. </parent>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.springframework.cloud</groupId>
  18. <artifactId>spring-cloud-gateway-core</artifactId>
  19. </dependency>
  20. <!-- <dependency> -->
  21. <!-- <groupId>org.springframework.boot</groupId> -->
  22. <!-- <artifactId>spring-boot-starter-web</artifactId> -->
  23. <!-- </dependency> -->
  24. <!-- Spring Boot Redis 依赖 -->
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-data-redis</artifactId>
  28. </dependency>
  29. <!--mybatis plus依赖包-->
  30. <dependency>
  31. <groupId>com.baomidou</groupId>
  32. <artifactId>mybatis-plus-boot-starter</artifactId>
  33. <version>3.1.0</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.mybatis</groupId>
  37. <artifactId>mybatis-spring</artifactId>
  38. <version>2.0.0</version>
  39. </dependency>
  40. <!-- <dependency> -->
  41. <!-- <groupId>com.alicp.jetcache</groupId> -->
  42. <!-- <artifactId>jetcache-starter-redis</artifactId> -->
  43. <!-- <version>2.6.0.M3</version> -->
  44. <!-- </dependency> -->
  45. <!-- <dependency> -->
  46. <!-- <groupId>com.alicp.jetcache</groupId> -->
  47. <!-- <artifactId>jetcache-redis-lettuce</artifactId> -->
  48. <!-- <version>2.6.0.M3</version> -->
  49. <!-- </dependency> -->
  50. <!--swagger文档-->
  51. <dependency>
  52. <groupId>io.springfox</groupId>
  53. <artifactId>springfox-swagger-ui</artifactId>
  54. <version>2.9.2</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>io.springfox</groupId>
  58. <artifactId>springfox-swagger2</artifactId>
  59. <version>2.9.2</version>
  60. </dependency>
  61. <!--数据库-->
  62. <dependency>
  63. <groupId>mysql</groupId>
  64. <artifactId>mysql-connector-java</artifactId>
  65. </dependency>
  66. <!-- Spring test 依赖 -->
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-test</artifactId>
  70. <scope>test</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>junit</groupId>
  74. <artifactId>junit</artifactId>
  75. <scope>test</scope>
  76. </dependency>
  77. <!-- 集成wireMock来实现mock请求响应。wireMock会自动构建一个虚拟远程服务 -->
  78. <dependency>
  79. <groupId>org.springframework.cloud</groupId>
  80. <artifactId>spring-cloud-contract-wiremock</artifactId>
  81. <scope>test</scope>
  82. </dependency>
  83. <!-- 提供打包预定义数据服务 -->
  84. <dependency>
  85. <groupId>org.springframework.cloud</groupId>
  86. <artifactId>spring-cloud-starter-contract-stub-runner</artifactId>
  87. <scope>test</scope>
  88. </dependency>
  89. <!-- 自动生成单元测试代码 -->
  90. <dependency>
  91. <groupId>org.springframework.cloud</groupId>
  92. <artifactId>spring-cloud-starter-contract-verifier</artifactId>
  93. <scope>test</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.github.tomakehurst</groupId>
  97. <artifactId>wiremock-standalone</artifactId>
  98. <scope>test</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.yaozhitech</groupId>
  102. <artifactId>spring5-auth-client</artifactId>
  103. <version>0.1.0</version>
  104. <exclusions>
  105. <exclusion>
  106. <groupId>org.springframework.boot</groupId>
  107. <artifactId>spring-boot-starter-webflux</artifactId>
  108. </exclusion>
  109. </exclusions>
  110. </dependency>
  111. </dependencies>
  112. </project>