父 pom
```
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.southwind</groupId>
<artifactId>aispringcloud</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<modules>
<module>eurekaserver</module>
<module>eurekaclient</module>
<module>resttemplate</module>
<module>consumer</module>
<module>zuul</module>
<module>ribbon</module>
<module>feign</module>
<module>hystrix</module>
<module>nativeconfigserver</module>
<module>nativeconfigclient</module>
<module>configserver</module>
<module>configclient</module>
<module>zipkin</module>
<module>zipkinclient</module>
</modules>
<!-- 这是 Spring Boot 的父级依赖,这样当前的项目就是 Spring Boot 项目了。-->
<!-- spring-boot-starter-parent 是一个特殊的 starter,它用来提供相关的 Maven 默认依赖。-->
<!-- 使用它之后,常用的包依赖可以省去 version 标签。(在 dependencies 里面)-->
<!--
https://blog.csdn.net/niceyoo/article/details/90731133-->
<!-- 在 dependencies 里的部分配置可以不用填写 version 信息,-->
<!-- 这些 version 信息会从 spring-boot-dependencies 里得到继承。-->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.2.RELEASE</version>
</parent>
<!--
https://blog.csdn.net/hanglife/article/details/90035083-->
<!-- dependencies 和 dependencyManagement 的区别概述-->
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<!-- spring-boot-starter-web 会自动嵌入 tomcat 容器。-->
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!-- 解决 jdk9 以上没有 JAXB API 的问题 (引入下面 4 个包) -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<!-- <version>1.18.6</version>-->
<optional>true</optional>
<!--
https://blog.csdn.net/blueheart20/article/details/81014116-->
<!-- <scope>provided</scope>-->
</dependency>
</dependencies>
<!-- 锁定版本,并不会真的引入 jar 包 -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Finchley.SR2</version>
<type>pom</type>
<!-- import 范围只有在 denpendencyManagement 元素下才有效果-->
<!--
https://blog.csdn.net/lqzxpp/article/details/79640638-->
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project>
```
子 pom
```
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>aispringcloud</artifactId>
<groupId>com.southwind</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>zipkin</artifactId>
<dependencies>
<!-- 父工程不是已经有了吗?为什么还要引入一次?-->
<dependency>
<groupId>org.springframework.boot</groupId>
<!-- spring-boot-starter-web 会自动嵌入 tomcat 容器。-->
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>io.zipkin.java</groupId>
<artifactId>zipkin-server</artifactId>
<version>2.12.3</version>
</dependency>
<!--图形界面展示-->
<dependency>
<groupId>io.zipkin.java</groupId>
<artifactId>zipkin-autoconfigure-ui</artifactId>
<version>2.12.3</version>
</dependency>
</dependencies>
</project>
```