This does two things: ensures samples don't use Zipkin v1 in any way, and misaligns the version numbers of zipkin v1 and zipkin v2 apis. This is an attempt to walk around the gradle plugin issue, which only exists when someone is using both versions of zipkin. See https://github.com/spring-projects/spring-boot/issues/10778
89 lines
2.9 KiB
XML
89 lines
2.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- ~ Copyright 2013-2017 the original author or authors. ~ ~ Licensed under
|
|
the Apache License, Version 2.0 (the "License"); ~ you may not use this file
|
|
except in compliance with the License. ~ You may obtain a copy of the License
|
|
at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by
|
|
applicable law or agreed to in writing, software ~ distributed under the
|
|
License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS
|
|
OF ANY KIND, either express or implied. ~ See the License for the specific
|
|
language governing permissions and ~ limitations under the License. -->
|
|
|
|
<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>
|
|
|
|
<artifactId>spring-cloud-sleuth-sample-feign</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>spring-cloud-sleuth-sample-feign</name>
|
|
<description>Spring Cloud Sleuth Sample</description>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-sleuth-samples</artifactId>
|
|
<version>1.3.0.BUILD-SNAPSHOT</version>
|
|
<relativePath>..</relativePath>
|
|
</parent>
|
|
|
|
<properties>
|
|
<sonar.skip>true</sonar.skip>
|
|
</properties>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<!--skip deploy -->
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-feign</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<!-- Including Eureka is a good test, even if there is no service to connect
|
|
with because it exercises slightly different code paths in Ribbon -->
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-eureka</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-sleuth-zipkin2</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
</project>
|