Skip to content

Commit 18ff175

Browse files
authored
Merge pull request #253 from GroundWu/obkv-table-client-1.3.0.1-shaded
Obkv table client 1.3.0.1 shaded
2 parents b3f35e5 + 789a28a commit 18ff175

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

pom.xml

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.oceanbase</groupId>
66
<artifactId>obkv-table-client</artifactId>
7-
<version>1.3.1-SNAPSHOT</version>
7+
<version>1.3.0.1-SNAPSHOT</version>
88

99
<name>${project.groupId}:${project.artifactId}</name>
1010
<description>OceanBase JavaClient for TableApi</description>
@@ -386,6 +386,40 @@
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+
<artifactSet>
402+
<excludes>
403+
<exclude>mysql:mysql-connector-java</exclude>
404+
<exclude>org.slf4j:slf4j-api</exclude>
405+
</excludes>
406+
</artifactSet>
407+
</configuration>
408+
</execution>
409+
</executions>
410+
<configuration>
411+
<relocations>
412+
<relocation>
413+
<pattern>com.alipay.sofa.common</pattern>
414+
<shadedPattern>com.shaded.alipay.sofa.common</shadedPattern>
415+
</relocation>
416+
<relocation>
417+
<pattern>com.alipay.remoting</pattern>
418+
<shadedPattern>com.shaded.alipay.remoting</shadedPattern>
419+
</relocation>
420+
</relocations>
421+
</configuration>
422+
</plugin>
389423
</plugins>
390424
</build>
391425
</profile>

0 commit comments

Comments
 (0)