pom.xml 3.0 KB

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