|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <parent> |
| 6 | + <groupId>org.springframework.boot</groupId> |
| 7 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 8 | + <version>2.2.2.RELEASE</version> |
| 9 | + <relativePath/> <!-- lookup parent from repository --> |
| 10 | + </parent> |
| 11 | + <modelVersion>4.0.0</modelVersion> |
| 12 | + |
| 13 | + <artifactId>lab-52-seata-at-httpclient-demo-account-service</artifactId> |
| 14 | + |
| 15 | + <dependencies> |
| 16 | + <!-- 实现对 Spring MVC 的自动化配置 --> |
| 17 | + <dependency> |
| 18 | + <groupId>org.springframework.boot</groupId> |
| 19 | + <artifactId>spring-boot-starter-web</artifactId> |
| 20 | + </dependency> |
| 21 | + |
| 22 | + <!-- 实现对数据库连接池的自动化配置 --> |
| 23 | + <dependency> |
| 24 | + <groupId>org.springframework.boot</groupId> |
| 25 | + <artifactId>spring-boot-starter-jdbc</artifactId> |
| 26 | + </dependency> |
| 27 | + <dependency> <!-- 本示例,我们使用 MySQL --> |
| 28 | + <groupId>mysql</groupId> |
| 29 | + <artifactId>mysql-connector-java</artifactId> |
| 30 | + <version>5.1.48</version> |
| 31 | + </dependency> |
| 32 | + |
| 33 | + <!-- 实现对 MyBatis 的自动化配置 --> |
| 34 | + <dependency> |
| 35 | + <groupId>org.mybatis.spring.boot</groupId> |
| 36 | + <artifactId>mybatis-spring-boot-starter</artifactId> |
| 37 | + <version>2.1.2</version> |
| 38 | + </dependency> |
| 39 | + |
| 40 | + <!-- 实现对 Seata 的自动化配置 --> |
| 41 | + <dependency> |
| 42 | + <groupId>io.seata</groupId> |
| 43 | + <artifactId>seata-spring-boot-starter</artifactId> |
| 44 | + <version>1.1.0</version> |
| 45 | + </dependency> |
| 46 | + <!-- 实现 Seata 对 HttpClient 的集成支持 --> |
| 47 | + <dependency> |
| 48 | + <groupId>io.seata</groupId> |
| 49 | + <artifactId>seata-http</artifactId> |
| 50 | + <version>1.1.0</version> |
| 51 | + </dependency> |
| 52 | + |
| 53 | + <!-- Apache HttpClient 依赖 --> |
| 54 | + <dependency> |
| 55 | + <groupId>org.apache.httpcomponents</groupId> |
| 56 | + <artifactId>httpclient</artifactId> |
| 57 | + <version>4.5.8</version> |
| 58 | + </dependency> |
| 59 | + </dependencies> |
| 60 | + |
| 61 | +</project> |
0 commit comments