pom.xml 2.7 KB

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