1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <artifactId>spring5-admin</artifactId>
- <packaging>jar</packaging>
- <name>${project.artifactId}</name>
- <description>spring5 demo</description>
-
- <!-- Spring Boot 启动父依赖 -->
- <parent>
- <groupId>com.yaozhitech</groupId>
- <artifactId>spring5</artifactId>
- <version>0.1.0</version>
- </parent>
- <dependencies>
- <!--注册中心-->
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-alibaba-nacos-discovery</artifactId>
- </dependency>
-
- <!-- Spring Boot Web 依赖 -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- </dependency>
-
- <!-- Spring Boot Redis 依赖 -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-redis</artifactId>
- </dependency>
-
- <!-- <dependency> -->
- <!-- <groupId>com.alicp.jetcache</groupId> -->
- <!-- <artifactId>jetcache-starter-redis</artifactId> -->
- <!-- <version>2.6.0.M3</version> -->
- <!-- </dependency> -->
- <!-- <dependency> -->
- <!-- <groupId>com.alicp.jetcache</groupId> -->
- <!-- <artifactId>jetcache-redis-lettuce</artifactId> -->
- <!-- <version>2.6.0.M3</version> -->
- <!-- </dependency> -->
-
- <!-- Spring test 依赖 -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
-
- <!-- 集成wireMock来实现mock请求响应。wireMock会自动构建一个虚拟远程服务 -->
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-contract-wiremock</artifactId>
- <scope>test</scope>
- </dependency>
-
- <!-- 提供打包预定义数据服务 -->
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-contract-stub-runner</artifactId>
- <scope>test</scope>
- </dependency>
-
- <!-- 自动生成单元测试代码 -->
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-contract-verifier</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.github.tomakehurst</groupId>
- <artifactId>wiremock-standalone</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>com.yaozhitech</groupId>
- <artifactId>spring5-auth-client</artifactId>
- <version>0.1.0</version>
- </dependency>
- </dependencies>
- </project>
|