mirror of https://github.com/longtai-cn/hippo4j
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
163 lines
7.9 KiB
163 lines
7.9 KiB
2 years ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<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>cn.hippo4j</groupId>
|
||
2 years ago
|
<artifactId>hippo4j-threadpool-agent</artifactId>
|
||
2 years ago
|
<version>${revision}</version>
|
||
|
</parent>
|
||
|
|
||
|
<artifactId>hippo4j-agent-core</artifactId>
|
||
|
<packaging>jar</packaging>
|
||
|
|
||
|
<properties>
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
<netty-tcnative-boringssl-static.version>2.0.7.Final</netty-tcnative-boringssl-static.version>
|
||
|
<os-maven-plugin.version>1.4.1.Final</os-maven-plugin.version>
|
||
|
<shade.com.google.source>com.google</shade.com.google.source>
|
||
|
<shade.com.google.target>${shade.package}.${shade.com.google.source}</shade.com.google.target>
|
||
|
<shade.io.grpc.source>io.grpc</shade.io.grpc.source>
|
||
|
<shade.io.grpc.target>${shade.package}.${shade.io.grpc.source}</shade.io.grpc.target>
|
||
|
<shade.io.netty.source>io.netty</shade.io.netty.source>
|
||
|
<shade.io.netty.target>${shade.package}.${shade.io.netty.source}</shade.io.netty.target>
|
||
|
<shade.io.opencensus.source>io.opencensus</shade.io.opencensus.source>
|
||
|
<shade.io.opencensus.target>${shade.package}.${shade.io.opencensus.source}</shade.io.opencensus.target>
|
||
|
<shade.io.perfmark.source>io.perfmark</shade.io.perfmark.source>
|
||
|
<shade.io.perfmark.target>${shade.package}.${shade.io.perfmark.source}</shade.io.perfmark.target>
|
||
|
<shade.org.slf4j.source>org.slf4j</shade.org.slf4j.source>
|
||
|
<shade.org.slf4j.target>${shade.package}.${shade.org.slf4j.source}</shade.org.slf4j.target>
|
||
|
<ststem-rules.version>1.18.0</ststem-rules.version>
|
||
|
</properties>
|
||
|
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>net.bytebuddy</groupId>
|
||
|
<artifactId>byte-buddy</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.google.code.gson</groupId>
|
||
|
<artifactId>gson</artifactId>
|
||
|
</dependency>
|
||
2 years ago
|
<dependency>
|
||
|
<groupId>org.projectlombok</groupId>
|
||
|
<artifactId>lombok</artifactId>
|
||
|
</dependency>
|
||
2 years ago
|
<dependency>
|
||
|
<groupId>net.bytebuddy</groupId>
|
||
|
<artifactId>byte-buddy-agent</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.github.tomakehurst</groupId>
|
||
|
<artifactId>wiremock</artifactId>
|
||
|
<scope>test</scope>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<artifactId>jackson-annotations</artifactId>
|
||
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<artifactId>jackson-core</artifactId>
|
||
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<artifactId>jackson-databind</artifactId>
|
||
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.openjdk.jmh</groupId>
|
||
|
<artifactId>jmh-generator-annprocess</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
2 years ago
|
<dependency>
|
||
|
<groupId>cn.hippo4j</groupId>
|
||
2 years ago
|
<artifactId>hippo4j-threadpool-common</artifactId>
|
||
2 years ago
|
<version>${project.version}</version>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
2 years ago
|
</dependencies>
|
||
2 years ago
|
|
||
2 years ago
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>kr.motd.maven</groupId>
|
||
|
<artifactId>os-maven-plugin</artifactId>
|
||
|
<version>${os-maven-plugin.version}</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<phase>initialize</phase>
|
||
|
<goals>
|
||
|
<goal>detect</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-shade-plugin</artifactId>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<phase>package</phase>
|
||
|
<goals>
|
||
|
<goal>shade</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<artifactSet>
|
||
|
<excludes>
|
||
|
<exclude>net.bytebuddy:byte-buddy:jar:</exclude>
|
||
|
<exclude>com.google.errorprone:error_prone_annotations:jar:</exclude>
|
||
|
<exclude>com.google.code.findbugs:jsr305:jar:</exclude>
|
||
|
<exclude>com.google.android:annotations:jar:</exclude>
|
||
|
<exclude>com.google.api.grpc:proto-google-common-protos:jar:</exclude>
|
||
|
<exclude>org.checkerframework:checker-compat-qual:jar:</exclude>
|
||
|
<exclude>org.codehaus.mojo:animal-sniffer-annotations:jar:</exclude>
|
||
|
</excludes>
|
||
|
</artifactSet>
|
||
|
<relocations>
|
||
|
<relocation>
|
||
|
<pattern>${shade.com.google.source}</pattern>
|
||
|
<shadedPattern>${shade.com.google.target}</shadedPattern>
|
||
|
</relocation>
|
||
|
<relocation>
|
||
|
<pattern>${shade.io.grpc.source}</pattern>
|
||
|
<shadedPattern>${shade.io.grpc.target}</shadedPattern>
|
||
|
</relocation>
|
||
|
<relocation>
|
||
|
<pattern>${shade.io.netty.source}</pattern>
|
||
|
<shadedPattern>${shade.io.netty.target}</shadedPattern>
|
||
|
</relocation>
|
||
|
<relocation>
|
||
|
<pattern>${shade.io.opencensus.source}</pattern>
|
||
|
<shadedPattern>${shade.io.opencensus.target}</shadedPattern>
|
||
|
</relocation>
|
||
|
<relocation>
|
||
|
<pattern>${shade.io.perfmark.source}</pattern>
|
||
|
<shadedPattern>${shade.io.perfmark.target}</shadedPattern>
|
||
|
</relocation>
|
||
|
<relocation>
|
||
|
<pattern>${shade.org.slf4j.source}</pattern>
|
||
|
<shadedPattern>${shade.org.slf4j.target}</shadedPattern>
|
||
|
</relocation>
|
||
|
</relocations>
|
||
|
<filters>
|
||
|
<filter>
|
||
|
<artifact>com.google.protobuf:protobuf-java</artifact>
|
||
|
<excludes>
|
||
|
<exclude>google/protobuf/*.proto</exclude>
|
||
|
<exclude>google/protobuf/compiler/*.proto</exclude>
|
||
|
</excludes>
|
||
|
</filter>
|
||
|
</filters>
|
||
|
<transformers>
|
||
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
|
||
|
</transformers>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</project>
|