pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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-order</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. <!-- Spring Boot Web 依赖 -->
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-web</artifactId>
  20. </dependency>
  21. <!-- Spring Boot Redis 依赖 -->
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-data-redis</artifactId>
  25. </dependency>
  26. <!-- openfeign -->
  27. <dependency>
  28. <groupId>org.springframework.cloud</groupId>
  29. <artifactId>spring-cloud-starter-openfeign</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>io.github.openfeign</groupId>
  33. <artifactId>feign-okhttp</artifactId>
  34. </dependency>
  35. <!-- <dependency> -->
  36. <!-- <groupId>org.springframework.cloud</groupId> -->
  37. <!-- <artifactId>spring-cloud-starter-netflix-ribbon</artifactId> -->
  38. <!-- </dependency> -->
  39. <!-- <dependency> -->
  40. <!-- <groupId>com.alicp.jetcache</groupId> -->
  41. <!-- <artifactId>jetcache-starter-redis</artifactId> -->
  42. <!-- <version>2.6.0.M3</version> -->
  43. <!-- </dependency> -->
  44. <!-- <dependency> -->
  45. <!-- <groupId>com.alicp.jetcache</groupId> -->
  46. <!-- <artifactId>jetcache-redis-lettuce</artifactId> -->
  47. <!-- <version>2.6.0.M3</version> -->
  48. <!-- </dependency> -->
  49. <!-- Spring test 依赖 -->
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-test</artifactId>
  53. <scope>test</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>junit</groupId>
  57. <artifactId>junit</artifactId>
  58. <scope>test</scope>
  59. </dependency>
  60. <!-- 集成wireMock来实现mock请求响应。wireMock会自动构建一个虚拟远程服务 -->
  61. <dependency>
  62. <groupId>org.springframework.cloud</groupId>
  63. <artifactId>spring-cloud-contract-wiremock</artifactId>
  64. <scope>test</scope>
  65. </dependency>
  66. <!-- 提供打包预定义数据服务 -->
  67. <dependency>
  68. <groupId>org.springframework.cloud</groupId>
  69. <artifactId>spring-cloud-starter-contract-stub-runner</artifactId>
  70. <scope>test</scope>
  71. </dependency>
  72. <!-- 自动生成单元测试代码 -->
  73. <dependency>
  74. <groupId>org.springframework.cloud</groupId>
  75. <artifactId>spring-cloud-starter-contract-verifier</artifactId>
  76. <scope>test</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.github.tomakehurst</groupId>
  80. <artifactId>wiremock-standalone</artifactId>
  81. <scope>test</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.yaozhitech</groupId>
  85. <artifactId>spring5-auth-client</artifactId>
  86. <version>0.1.0</version>
  87. </dependency>
  88. </dependencies>
  89. </project>