zipkin-autoconfigure-collector-scribe
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.zipkin.java</groupId> <artifactId>zipkin-autoconfigure-collector-scribe</artifactId> <version>2.12.9</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2015-2019 The OpenZipkin 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> <parent> <groupId>io.zipkin.java</groupId> <artifactId>zipkin-autoconfigure</artifactId> <version>2.12.9</version> </parent> <artifactId>zipkin-autoconfigure-collector-scribe</artifactId> <name>Auto Configuration: Scribe Collector</name> <properties> <main.basedir>${project.basedir}/../..</main.basedir> </properties> <dependencies> <dependency> <groupId>io.zipkin.zipkin2</groupId> <artifactId>zipkin-collector-scribe</artifactId> <exclusions> <!-- com.facebook.swift:swift-service brings an old version which leads to javax.validation.ValidationException. Exclude it! --> <exclusion> <groupId>javax.validation</groupId> <artifactId>validation-api</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>${spring-boot.version}</version> <configuration> <layoutFactory implementation="zipkin.layout.ZipkinLayoutFactory"> <name>zipkin</name> </layoutFactory> <classifier>module</classifier> <!-- exclude dependencies already packaged in zipkin-server --> <!-- https://github.com/spring-projects/spring-boot/issues/3426 transitive exclude doesn't work --> <excludeGroupIds> org.springframework.boot,org.springframework,org.slf4j,commons-logging,com.google.code.gson,com.google.guava </excludeGroupIds> <!-- excludes direct dependency instead of the group id, as otherwise we'd exclude ourselves --> <excludes> <exclude> <groupId>io.zipkin.zipkin2</groupId> <artifactId>zipkin</artifactId> </exclude> <exclude> <groupId>io.zipkin.zipkin2</groupId> <artifactId>zipkin-collector</artifactId> </exclude> </excludes> </configuration> <dependencies> <dependency> <groupId>io.zipkin.layout</groupId> <artifactId>zipkin-layout-factory</artifactId> <version>${zipkin-layout-factory.version}</version> </dependency> </dependencies> </plugin> </plugins> </build> <profiles> <profile> <id>jigsaw</id> <activation> <jdk>[1.9,)</jdk> </activation> <build> <plugins> <plugin> <artifactId>maven-surefire-plugin</artifactId> <!-- to prevent class not found in tests --> <configuration> <forkCount>0</forkCount> <argLine>--add-modules java.xml.bind</argLine> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>