zipkin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.zipkin.zipkin2</groupId>
<artifactId>zipkin</artifactId>
<version>3.5.1</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright The OpenZipkin Authors
SPDX-License-Identifier: Apache-2.0
-->
<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</groupId>
<artifactId>zipkin-parent</artifactId>
<version>3.5.1</version>
</parent>
<groupId>io.zipkin.zipkin2</groupId>
<artifactId>zipkin</artifactId>
<name>Zipkin Core Library</name>
<properties>
<!-- Matches Export-Package in bnd.bnd -->
<module.name>zipkin2</module.name>
<!--
MutablePublicArray: We share an array of hex chars in internal code
JdkObsolete: SortedMap was replaced by NavigableMap, but the focus is Sorted not Navigable
-->
<errorprone.args>-Xep:MutablePublicArray:OFF -Xep:JdkObsolete:OFF</errorprone.args>
<main.basedir>${project.basedir}/..</main.basedir>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<maven.compiler.release>8</maven.compiler.release>
</properties>
<dependencies>
<!-- Internal classes used in SpanBytesDecoder.JSON_V[12] -->
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>${gson.version}</version>
<!-- this dependency is shaded out -->
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.esotericsoftware</groupId>
<artifactId>kryo</artifactId>
<version>${kryo.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Use of gson is internal only -->
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<minimizeJar>true</minimizeJar>
<filters>
<filter>
<artifact>com.google.code.gson:gson</artifact>
<includes>
<include>com/google/gson/Strictness.class</include>
<include>com/google/gson/stream/JsonReader*.class</include>
<include>com/google/gson/stream/JsonToken.class</include>
<include>com/google/gson/stream/MalformedJsonException.class</include>
<include>com/google/gson/internal/JsonReaderInternalAccess.class</include>
<include>com/google/gson/internal/TroubleshootingGuide.class</include>
</includes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>com.google.gson</pattern>
<shadedPattern>zipkin2.internal.gson</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Automatic-Module-Name>${module.name}</Automatic-Module-Name>
</manifestEntries>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<!-- This adds the LICENSE and NOTICE file to the jar and -sources jar of each module -->
<resource>
<filtering>false</filtering>
<directory>${main.basedir}</directory>
<targetPath>META-INF/</targetPath>
<includes>
<include>LICENSE</include>
<include>NOTICE</include>
</includes>
</resource>
</resources>
</build>
</project>