housepower / spark-clickhouse-connector

Spark ClickHouse Connector build on DataSourceV2 API
https://housepower.github.io/spark-clickhouse-connector
Apache License 2.0
171 stars 59 forks source link

Sources jar uploaded to Maven Central is empty #302

Closed heartdance closed 1 month ago

heartdance commented 2 months ago

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

pan3793 commented 2 months ago

link?

heartdance commented 2 months ago

link?

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

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

pan3793 commented 1 month 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