Skip to content

Commit cae83fb

Browse files
committed
add shaded sofa dependency
1 parent 0ff39fb commit cae83fb

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

pom.xml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,35 @@
386386
</execution>
387387
</executions>
388388
</plugin>
389+
<plugin>
390+
<artifactId>maven-shade-plugin</artifactId>
391+
<version>3.2.4</version>
392+
<executions>
393+
<execution>
394+
<phase>package</phase>
395+
<goals>
396+
<goal>shade</goal>
397+
</goals>
398+
<configuration>
399+
<shadedArtifactAttached>true</shadedArtifactAttached>
400+
<shadedClassifierName>shade</shadedClassifierName>
401+
<!-- Any name that makes sense -->
402+
</configuration>
403+
</execution>
404+
</executions>
405+
<configuration>
406+
<relocations>
407+
<relocation>
408+
<pattern>com.alipay.sofa.common</pattern>
409+
<shadedPattern>com.shaded.alipay.sofa.common</shadedPattern>
410+
</relocation>
411+
<relocation>
412+
<pattern>com.alipay.remoting</pattern>
413+
<shadedPattern>com.shaded.alipay.remoting</shadedPattern>
414+
</relocation>
415+
</relocations>
416+
</configuration>
417+
</plugin>
389418
</plugins>
390419
</build>
391420
</profile>

0 commit comments

Comments
 (0)