File tree Expand file tree Collapse file tree 1 file changed +32
-1
lines changed
Expand file tree Collapse file tree 1 file changed +32
-1
lines changed Original file line number Diff line number Diff line change 361361 </execution >
362362 </executions >
363363 </plugin >
364+ <plugin >
365+ <groupId >org.apache.maven.plugins</groupId >
366+ <artifactId >maven-shade-plugin</artifactId >
367+ <version >3.2.4</version >
368+ <executions >
369+ <execution >
370+ <!-- 和 package 阶段绑定 -->
371+ <phase >package</phase >
372+ <goals >
373+ <goal >shade</goal >
374+ </goals >
375+ <configuration >
376+ <shadedArtifactAttached >true</shadedArtifactAttached >
377+ <shadedClassifierName >shade</shadedClassifierName >
378+ <!-- Any name that makes sense -->
379+ </configuration >
380+ </execution >
381+ </executions >
382+ <configuration >
383+ <relocations >
384+ <relocation >
385+ <pattern >com.alipay.sofa.common</pattern >
386+ <shadedPattern >com.shaded.alipay.sofa.common</shadedPattern >
387+ </relocation >
388+ <relocation >
389+ <pattern >com.alipay.remoting</pattern >
390+ <shadedPattern >com.shaded.alipay.remoting</shadedPattern >
391+ </relocation >
392+ </relocations >
393+ </configuration >
394+ </plugin >
364395 </plugins >
365396 </build >
366397 </profile >
367398 </profiles >
368- </project >
399+ </project >
You can’t perform that action at this time.
0 commit comments