summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordoufenghu <[email protected]>2024-02-02 19:28:33 +0800
committerdoufenghu <[email protected]>2024-02-02 19:28:33 +0800
commit65ed01cea7af6378240841811f281c74155bb974 (patch)
tree1b319396d2eaa90b0eb6dfae3c5a7f4ed6780cc3
parent05b53e48d59f6bf1e0cd7c22f9a725bd4c89d857 (diff)
Shade exclude some usable files
-rw-r--r--groot-shaded/http-client-shaded/pom.xml10
-rw-r--r--groot-shaded/protobuf-shaded/pom.xml10
2 files changed, 20 insertions, 0 deletions
diff --git a/groot-shaded/http-client-shaded/pom.xml b/groot-shaded/http-client-shaded/pom.xml
index 3be16b7..088509b 100644
--- a/groot-shaded/http-client-shaded/pom.xml
+++ b/groot-shaded/http-client-shaded/pom.xml
@@ -47,6 +47,16 @@
<shadeSourcesContent>true</shadeSourcesContent>
<shadedArtifactAttached>false</shadedArtifactAttached>
<createDependencyReducedPom>false</createDependencyReducedPom>
+ <filters>
+ <filter>
+ <artifact>*:*</artifact>
+ <excludes>
+ <exclude>META-INF/*.SF</exclude>
+ <exclude>META-INF/*.DSA</exclude>
+ <exclude>META-INF/*.RSA</exclude>
+ </excludes>
+ </filter>
+ </filters>
<relocations>
<relocation>
<pattern>org.apache.http</pattern>
diff --git a/groot-shaded/protobuf-shaded/pom.xml b/groot-shaded/protobuf-shaded/pom.xml
index 8fea409..4cad239 100644
--- a/groot-shaded/protobuf-shaded/pom.xml
+++ b/groot-shaded/protobuf-shaded/pom.xml
@@ -43,6 +43,16 @@
<finalName>protobuf-shaded-${protobuf.version}</finalName>
<createSourcesJar>true</createSourcesJar>
<shadeSourcesContent>true</shadeSourcesContent>
+ <filters>
+ <filter>
+ <artifact>*:*</artifact>
+ <excludes>
+ <exclude>META-INF/*.SF</exclude>
+ <exclude>META-INF/*.DSA</exclude>
+ <exclude>META-INF/*.RSA</exclude>
+ </excludes>
+ </filter>
+ </filters>
<relocations>
<relocation>
<pattern>com.google.protobuf</pattern>