|
| 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 | + <artifactId>lab-61</artifactId> |
| 7 | + <groupId>cn.iocoder.springboot.labs</groupId> |
| 8 | + <version>1.0-SNAPSHOT</version> |
| 9 | + </parent> |
| 10 | + <modelVersion>4.0.0</modelVersion> |
| 11 | + |
| 12 | + <artifactId>lab-61-cat-opentracing-demo</artifactId> |
| 13 | + |
| 14 | + <properties> |
| 15 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 16 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 17 | + <spring.boot.version>2.2.4.RELEASE</spring.boot.version> |
| 18 | + </properties> |
| 19 | + |
| 20 | + <dependencyManagement> |
| 21 | + <dependencies> |
| 22 | + <dependency> |
| 23 | + <groupId>org.springframework.boot</groupId> |
| 24 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 25 | + <version>${spring.boot.version}</version> |
| 26 | + <type>pom</type> |
| 27 | + <scope>import</scope> |
| 28 | + </dependency> |
| 29 | + </dependencies> |
| 30 | + </dependencyManagement> |
| 31 | + |
| 32 | + <dependencies> |
| 33 | + <!-- 引入 SpringMVC 相关依赖,并实现对其的自动配置 --> |
| 34 | + <dependency> |
| 35 | + <groupId>org.springframework.boot</groupId> |
| 36 | + <artifactId>spring-boot-starter-web</artifactId> |
| 37 | + </dependency> |
| 38 | + |
| 39 | + <!-- 引入 CAT 相关依赖 --> |
| 40 | + <dependency> |
| 41 | + <groupId>com.dianping.cat</groupId> |
| 42 | + <artifactId>cat-client</artifactId> |
| 43 | + <version>3.0.0</version> |
| 44 | + </dependency> |
| 45 | + |
| 46 | + <!-- 引入 CAT + Opentracing 的集成 --> |
| 47 | + <dependency> |
| 48 | + <groupId>cn.iocoder.springboot.labs</groupId> |
| 49 | + <artifactId>lab-61-cat-opentracing</artifactId> |
| 50 | + <version>1.0-SNAPSHOT</version> |
| 51 | + </dependency> |
| 52 | + </dependencies> |
| 53 | + |
| 54 | + <!-- 引入私服,因为 CAT 依赖并没有发到 Maven 中央仓库 --> |
| 55 | + <repositories> |
| 56 | + <repository> |
| 57 | + <id>central</id> |
| 58 | + <name>Maven2 Central Repository</name> |
| 59 | + <layout>default</layout> |
| 60 | + <url>http://repo1.maven.org/maven2</url> |
| 61 | + </repository> |
| 62 | + <repository> |
| 63 | + <id>unidal.releases</id> |
| 64 | + <url>http://unidal.org/nexus/content/repositories/releases/</url> |
| 65 | + </repository> |
| 66 | + </repositories> |
| 67 | + |
| 68 | +</project> |
0 commit comments