mirror of
https://gitee.com/yudaocode/SpringBoot-Labs.git
synced 2026-09-03 05:53:54 +08:00
56 lines
1.9 KiB
XML
56 lines
1.9 KiB
XML
<?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>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>2.2.2.RELEASE</version>
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>lab-40-springmvc</artifactId>
|
|
|
|
<dependencies>
|
|
<!-- 实现对 SpringMVC 的自动化配置 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Brave 核心库 -->
|
|
<!-- The below are needed to report traces to http://localhost:9411/api/v2/spans -->
|
|
<dependency>
|
|
<groupId>io.zipkin.brave</groupId>
|
|
<artifactId>brave</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.zipkin.reporter2</groupId>
|
|
<artifactId>zipkin-sender-okhttp3</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Adds the MVC class and method names to server spans -->
|
|
<!-- Brave 对 Spring MVC 的支持 -->
|
|
<dependency>
|
|
<groupId>io.zipkin.brave</groupId>
|
|
<artifactId>brave-instrumentation-spring-webmvc</artifactId>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<dependencyManagement>
|
|
<!-- Brave Bom 文件 -->
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.zipkin.brave</groupId>
|
|
<artifactId>brave-bom</artifactId>
|
|
<version>5.9.1</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
</project>
|