Fix duplicate Elasticsearch JDBC driver

This commit is contained in:
王文艳
2026-10-27 18:26:53 +08:00
parent 9e729f5366
commit b6166e2e79
+6
View File
@@ -53,6 +53,12 @@
<goals><goal>shade</goal></goals>
<configuration>
<shadedArtifactAttached>false</shadedArtifactAttached>
<artifactSet>
<excludes>
<!-- The driver is loaded from lib; shading it too triggers its duplicate-version check. -->
<exclude>org.elasticsearch.plugin:x-pack-sql-jdbc</exclude>
</excludes>
</artifactSet>
<filters>
<filter>
<artifact>*:*</artifact>