ClickHouse / spark-clickhouse-connector

Spark ClickHouse Connector build on DataSourceV2 API
https://clickhouse.com/docs/en/integrations/apache-spark
Apache License 2.0
187 stars 66 forks source link

Sources jar uploaded to Maven Central is empty #302

Closed heartdance closed 7 months ago

heartdance commented 8 months ago

发布到maven中央仓库的源码包没有内容,大小只有不到1kb

pan3793 commented 8 months ago

link?

heartdance commented 8 months ago

link?

https://mvnrepository.com/artifact/com.github.housepower/clickhouse-spark-runtime-3.3_2.12/0.7.3

我看了几个都没有,这只是其中之一

pan3793 commented 7 months ago

It's by design.

The *-runtime-*.jar shippes relocated classes, technically, there is no corresponding source code, though Maven/Gradle shadow plugins support generating the modified source code jars, but it is almost a mess, a negative case is HADOOP-16822.

While docs and sources jars are enforced by sonatype[1], so dummy jars are used eventually.

[1] https://central.sonatype.org/publish/requirements/#publishing