Skip to content

Commit

Permalink
fix: shade async-profiler packages (#727)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengziyi0117 authored Nov 5, 2024
1 parent 26e5948 commit f024586
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apm-sniffer/apm-agent-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
<shade.org.slf4j.target>${shade.package}.${shade.org.slf4j.source}</shade.org.slf4j.target>
<ststem-rules.version>1.18.0</ststem-rules.version>
<slf4j.version>1.7.25</slf4j.version>
<shade.one.profiler.source>one.profiler</shade.one.profiler.source>
<shade.one.profiler.target>${shade.package}.${shade.one.profiler.source}</shade.one.profiler.target>
</properties>

<dependencies>
Expand Down Expand Up @@ -253,6 +255,10 @@
<pattern>${shade.org.slf4j.source}</pattern>
<shadedPattern>${shade.org.slf4j.target}</shadedPattern>
</relocation>
<relocation>
<pattern>${shade.one.profiler.source}</pattern>
<shadedPattern>${shade.one.profiler.target}</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
Expand Down
1 change: 1 addition & 0 deletions apm-sniffer/apm-agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
<exclude>org.codehaus.mojo:animal-sniffer-annotations</exclude>
<exclude>io.perfmark:*</exclude>
<exclude>org.slf4j:*</exclude>
<exclude>tools.profiler:async-profiler</exclude>
</excludes>
</artifactSet>
<relocations>
Expand Down

0 comments on commit f024586

Please sign in to comment.