manuzhang opened a new issue, #18052:
URL: https://github.com/apache/iceberg/issues/18052
### Apache Iceberg version
1.11.0 (latest release) and `main`
### Query engine
Kafka Connect
### Please describe the bug 🐞
The Iceberg BOM contains a dependency constraint for
`org.apache.iceberg:iceberg-kafka-connect-runtime`, but that Maven artifact
is not
published.
For example, the 1.11.0 BOM contains:
```xml
<dependency>
<groupId>org.apache.iceberg</groupId>
<artifactId>iceberg-kafka-connect-runtime</artifactId>
<version>1.11.0</version>
</dependency>
```
However, the corresponding Maven Central POM returns 404:
```text
https://repo.maven.apache.org/maven2/org/apache/iceberg/iceberg-kafka-connect-runtime/1.11.0/iceberg-kafka-connect-runtime-1.11.0.pom
```
The runtime project intentionally disables Maven publishing because it
produces
Kafka Connect ZIP distributions instead:
https://github.com/apache/iceberg/blob/main/kafka-connect/build.gradle#L237-L240
The BOM currently adds every leaf Gradle project, which causes this
non-published
leaf project to be included:
https://github.com/apache/iceberg/blob/main/build.gradle#L1267-L1284
The regular `iceberg-kafka-connect`, `iceberg-kafka-connect-events`, and
`iceberg-kafka-connect-transforms` Maven artifacts are published and should
remain
in the BOM. Only `iceberg-kafka-connect-runtime` should be excluded while it
has no
published Maven coordinate.
The expected behavior is for the BOM to constrain only artifacts that are
actually
published for the release. Importing the BOM itself succeeds, but its runtime
constraint advertises an artifact that consumers cannot resolve.
This is related to #14986, which requested publishing the runtime
distribution.
That issue was closed as not planned; this issue records the current BOM
inconsistency rather than requesting runtime publication.
### Willingness to contribute
- [x] I can contribute a fix for this bug independently
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]