|
|
@@ -0,0 +1,92 @@
|
|
|
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>csc-szls-parent</artifactId>
|
|
|
7
|
+ <groupId>com.unissoft</groupId>
|
|
|
8
|
+ <version>1.0-SNAPSHOT</version>
|
|
|
9
|
+ <relativePath>../csc-szls-parent/pom.xml</relativePath>
|
|
|
10
|
+ </parent>
|
|
|
11
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
12
|
+
|
|
|
13
|
+ <artifactId>csc-szls-sleuth-zipkin</artifactId>
|
|
|
14
|
+ <version>1.0-SNAPSHOT</version>
|
|
|
15
|
+ <packaging>jar</packaging>
|
|
|
16
|
+ <description>链路追踪服务</description>
|
|
|
17
|
+
|
|
|
18
|
+ <dependencies>
|
|
|
19
|
+ <dependency>
|
|
|
20
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
21
|
+ <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
|
|
|
22
|
+ </dependency>
|
|
|
23
|
+ <!--zipkin-server的依赖坐标-->
|
|
|
24
|
+ <dependency>
|
|
|
25
|
+ <groupId>io.zipkin.java</groupId>
|
|
|
26
|
+ <artifactId>zipkin-server</artifactId>
|
|
|
27
|
+ <version>2.12.3</version>
|
|
|
28
|
+ <exclusions>
|
|
|
29
|
+ <!--排除掉log4j2的传递依赖,避免和springboot依赖的日志组件冲突-->
|
|
|
30
|
+ <exclusion>
|
|
|
31
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
32
|
+ <artifactId>spring-boot-starter-log4j2</artifactId>
|
|
|
33
|
+ </exclusion>
|
|
|
34
|
+ </exclusions>
|
|
|
35
|
+ </dependency>
|
|
|
36
|
+ <!--zipkin-server ui界面依赖坐标-->
|
|
|
37
|
+ <dependency>
|
|
|
38
|
+ <groupId>io.zipkin.java</groupId>
|
|
|
39
|
+ <artifactId>zipkin-autoconfigure-ui</artifactId>
|
|
|
40
|
+ <version>2.12.3</version>
|
|
|
41
|
+ </dependency>
|
|
|
42
|
+ <!--关于mysql配置-->
|
|
|
43
|
+ <dependency>
|
|
|
44
|
+ <groupId>io.zipkin.java</groupId>
|
|
|
45
|
+ <artifactId>zipkin-autoconfigure-storage-mysql</artifactId>
|
|
|
46
|
+ <version>2.12.3</version>
|
|
|
47
|
+ </dependency>
|
|
|
48
|
+ <dependency>
|
|
|
49
|
+ <groupId>mysql</groupId>
|
|
|
50
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
51
|
+ </dependency>
|
|
|
52
|
+ <dependency>
|
|
|
53
|
+ <groupId>com.alibaba</groupId>
|
|
|
54
|
+ <artifactId>druid-spring-boot-starter</artifactId>
|
|
|
55
|
+ <version>1.1.10</version>
|
|
|
56
|
+ </dependency>
|
|
|
57
|
+ <dependency>
|
|
|
58
|
+ <groupId>org.springframework</groupId>
|
|
|
59
|
+ <artifactId>spring-tx</artifactId>
|
|
|
60
|
+ </dependency>
|
|
|
61
|
+ <dependency>
|
|
|
62
|
+ <groupId>org.springframework</groupId>
|
|
|
63
|
+ <artifactId>spring-jdbc</artifactId>
|
|
|
64
|
+ </dependency>
|
|
|
65
|
+ </dependencies>
|
|
|
66
|
+
|
|
|
67
|
+ <build>
|
|
|
68
|
+ <plugins>
|
|
|
69
|
+ <plugin>
|
|
|
70
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
71
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
72
|
+ <configuration>
|
|
|
73
|
+ <mainClass>com.unissoft.SleuthStart</mainClass>
|
|
|
74
|
+ </configuration>
|
|
|
75
|
+ </plugin>
|
|
|
76
|
+ </plugins>
|
|
|
77
|
+ <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
|
|
|
78
|
+ <resources>
|
|
|
79
|
+ <resource>
|
|
|
80
|
+ <directory>src/main/java</directory>
|
|
|
81
|
+ <includes>
|
|
|
82
|
+ <include>**/*.properties</include>
|
|
|
83
|
+ <include>**/*.xml</include>
|
|
|
84
|
+ </includes>
|
|
|
85
|
+ <!--<filtering>false</filtering>-->
|
|
|
86
|
+ </resource>
|
|
|
87
|
+ <resource>
|
|
|
88
|
+ <directory>src/main/resources</directory>
|
|
|
89
|
+ </resource>
|
|
|
90
|
+ </resources>
|
|
|
91
|
+ </build>
|
|
|
92
|
+</project>
|