This is an automated email from the ASF dual-hosted git repository. lzljs3620320 pushed a commit to branch release-1.3 in repository https://gitbox.apache.org/repos/asf/paimon.git
commit cee4a541a88db336970a3fab2cc2adebe4f40cfd Author: Jingsong Lee <jingsongl...@gmail.com> AuthorDate: Tue Sep 23 17:12:39 2025 +0800 [lance] Remove shade for paimon-lance (#6310) --- paimon-lance/pom.xml | 87 ++++++------------------- paimon-lance/src/main/resources/META-INF/NOTICE | 10 --- 2 files changed, 21 insertions(+), 76 deletions(-) diff --git a/paimon-lance/pom.xml b/paimon-lance/pom.xml index 0bd3c4f3d9..401860a98c 100644 --- a/paimon-lance/pom.xml +++ b/paimon-lance/pom.xml @@ -107,70 +107,25 @@ under the License. </dependency> </dependencies> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-shade-plugin</artifactId> - <executions> - <execution> - <id>shade-paimon</id> - <phase>package</phase> - <goals> - <goal>shade</goal> - </goals> - <configuration> - <artifactSet> - <includes combine.children="append"> - <!-- Lance --> - <include>com.lancedb:lance-core</include> - <include>org.questdb:jar-jni</include> - <include>com.google.flatbuffers:flatbuffers-java</include> - - <!-- Arrow --> - <include>org.apache.paimon:paimon-arrow</include> - <include>org.apache.arrow:arrow-vector</include> - <include>org.apache.arrow:arrow-format</include> - <include>org.apache.arrow:arrow-memory-core</include> - <include>org.apache.arrow:arrow-memory-unsafe</include> - <include>org.apache.arrow:arrow-c-data</include> - <include>org.eclipse.collections:eclipse-collections</include> - <include>org.eclipse.collections:eclipse-collections-api</include> - - <!-- common --> - <include>com.fasterxml.jackson.core:jackson-core</include> - <include>com.fasterxml.jackson.core:jackson-databind</include> - <include>com.fasterxml.jackson.core:jackson-annotations</include> - <include>com.fasterxml.jackson.datatype:jackson-datatype-jsr310</include> - </includes> - </artifactSet> - <filters> - <!-- Another copy of the Apache license, which we don't need. --> - <filter> - <artifact>*</artifact> - <excludes> - <exclude>META-INF/LICENSE.txt</exclude> - <exclude>LICENSE-EPL-1.0.txt</exclude> - <exclude>LICENSE-EDL-1.0.txt</exclude> - <exluce>about.html</exluce> - </excludes> - </filter> - </filters> - <relocations> - <!-- Relocate Common. --> - <relocation> - <pattern>com.fasterxml.jackson</pattern> - <shadedPattern>org.apache.paimon.shade.lance.com.fasterxml.jackson</shadedPattern> - </relocation> - <relocation> - <pattern>org.eclipse.collections</pattern> - <shadedPattern>org.apache.paimon.shade.lance.org.eclipse.collections</shadedPattern> - </relocation> - </relocations> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> + <!-- If you want to use paimon-lance, you should add following dependencies to your environment. --> + <!-- Lance --> + <!-- <include>com.lancedb:lance-core</include>--> + <!-- <include>org.questdb:jar-jni</include>--> + <!-- <include>com.google.flatbuffers:flatbuffers-java</include>--> + + <!-- Arrow --> + <!-- <include>org.apache.paimon:paimon-arrow</include>--> + <!-- <include>org.apache.arrow:arrow-vector</include>--> + <!-- <include>org.apache.arrow:arrow-format</include>--> + <!-- <include>org.apache.arrow:arrow-memory-core</include>--> + <!-- <include>org.apache.arrow:arrow-memory-unsafe</include>--> + <!-- <include>org.apache.arrow:arrow-c-data</include>--> + <!-- <include>org.eclipse.collections:eclipse-collections</include>--> + <!-- <include>org.eclipse.collections:eclipse-collections-api</include>--> + + <!-- common --> + <!-- <include>com.fasterxml.jackson.core:jackson-core</include>--> + <!-- <include>com.fasterxml.jackson.core:jackson-databind</include>--> + <!-- <include>com.fasterxml.jackson.core:jackson-annotations</include>--> + <!-- <include>com.fasterxml.jackson.datatype:jackson-datatype-jsr310</include>--> </project> diff --git a/paimon-lance/src/main/resources/META-INF/NOTICE b/paimon-lance/src/main/resources/META-INF/NOTICE deleted file mode 100644 index f294c7186d..0000000000 --- a/paimon-lance/src/main/resources/META-INF/NOTICE +++ /dev/null @@ -1,10 +0,0 @@ -paimon-format-lance -Copyright 2023-2025 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -This project bundles the following dependencies under the Apache Software License 2.0. (http://www.apache.org/licenses/LICENSE-2.0.txt) - -- com.lancedb:lancedb-core:0.30.0 -