File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1919 <properties >
2020 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
2121 <skywalking .version>5.0.0-GA</skywalking .version>
22+ <shade .package>org.apache.skywalking.apm.dependencies</shade .package>
23+ <shade .net.bytebuddy.source>net.bytebuddy</shade .net.bytebuddy.source>
24+ <shade .net.bytebuddy.target>${shade.package} .${shade.net.bytebuddy.source} </shade .net.bytebuddy.target>
2225 </properties >
2326
2427 <dependencies >
7578 <artifactId >versions-maven-plugin</artifactId >
7679 <version >2.7</version >
7780 </plugin >
81+ <plugin >
82+ <artifactId >maven-shade-plugin</artifactId >
83+ <executions >
84+ <execution >
85+ <phase >package</phase >
86+ <goals >
87+ <goal >shade</goal >
88+ </goals >
89+ <configuration >
90+ <shadedArtifactAttached >false</shadedArtifactAttached >
91+ <createDependencyReducedPom >true</createDependencyReducedPom >
92+ <createSourcesJar >true</createSourcesJar >
93+ <shadeSourcesContent >true</shadeSourcesContent >
94+ <relocations >
95+ <relocation >
96+ <pattern >${shade.net.bytebuddy.source} </pattern >
97+ <shadedPattern >${shade.net.bytebuddy.target} </shadedPattern >
98+ </relocation >
99+ </relocations >
100+ </configuration >
101+ </execution >
102+ </executions >
103+ </plugin >
78104 </plugins >
79105 </build >
80106</project >
You can’t perform that action at this time.
0 commit comments