pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. <!--mybatis plus依赖包-->
  22. <dependency>
  23. <groupId>com.baomidou</groupId>
  24. <artifactId>mybatis-plus-boot-starter</artifactId>
  25. <version>3.1.0</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.mybatis</groupId>
  29. <artifactId>mybatis-spring</artifactId>
  30. <version>2.0.0</version>
  31. </dependency>
  32. <!-- <dependency> -->
  33. <!-- <groupId>com.alicp.jetcache</groupId> -->
  34. <!-- <artifactId>jetcache-starter-redis</artifactId> -->
  35. <!-- <version>2.6.0.M3</version> -->
  36. <!-- </dependency> -->
  37. <!-- <dependency> -->
  38. <!-- <groupId>com.alicp.jetcache</groupId> -->
  39. <!-- <artifactId>jetcache-redis-lettuce</artifactId> -->
  40. <!-- <version>2.6.0.M3</version> -->
  41. <!-- </dependency> -->
  42. <!--swagger文档-->
  43. <dependency>
  44. <groupId>io.springfox</groupId>
  45. <artifactId>springfox-swagger-ui</artifactId>
  46. <version>2.9.2</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>io.springfox</groupId>
  50. <artifactId>springfox-swagger2</artifactId>
  51. <version>2.9.2</version>
  52. </dependency>
  53. <!--数据库-->
  54. <dependency>
  55. <groupId>mysql</groupId>
  56. <artifactId>mysql-connector-java</artifactId>
  57. </dependency>
  58. <!-- Spring test 依赖 -->
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-test</artifactId>
  62. <scope>test</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>junit</groupId>
  66. <artifactId>junit</artifactId>
  67. <scope>test</scope>
  68. </dependency>
  69. <!-- 集成wireMock来实现mock请求响应。wireMock会自动构建一个虚拟远程服务 -->
  70. <dependency>
  71. <groupId>org.springframework.cloud</groupId>
  72. <artifactId>spring-cloud-contract-wiremock</artifactId>
  73. <scope>test</scope>
  74. </dependency>
  75. <!-- 提供打包预定义数据服务 -->
  76. <dependency>
  77. <groupId>org.springframework.cloud</groupId>
  78. <artifactId>spring-cloud-starter-contract-stub-runner</artifactId>
  79. <scope>test</scope>
  80. </dependency>
  81. <!-- 自动生成单元测试代码 -->
  82. <dependency>
  83. <groupId>org.springframework.cloud</groupId>
  84. <artifactId>spring-cloud-starter-contract-verifier</artifactId>
  85. <scope>test</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.github.tomakehurst</groupId>
  89. <artifactId>wiremock-standalone</artifactId>
  90. <scope>test</scope>
  91. </dependency>
  92. <!-- <dependency> -->
  93. <!-- <groupId>com.yaozhitech</groupId> -->
  94. <!-- <artifactId>spring5-auth-client</artifactId> -->
  95. <!-- <version>0.1.0</version> -->
  96. <!-- </dependency> -->
  97. </dependencies>
  98. </project>