Skip to content

Issue with duplicate kafka connect artifacts #11026

@Fokko

Description

@Fokko

Feature Request / Improvement

I tried to push the Iceberg artifacts locally to test #10996 but got an error around duplicate Kafka-connect artifacts:

> Task :iceberg-kafka-connect:iceberg-kafka-connect:publishApachePublicationToMavenLocal
Multiple publications with coordinates 'org.apache.iceberg:iceberg-kafka-connect:1.7.0-SNAPSHOT' are published to repository 'mavenLocal'. The publications 'apache' in project ':iceberg-kafka-connect' and 'apache' in project ':iceberg-kafka-connect:iceberg-kafka-connect' will overwrite each other!

> Task :iceberg-kafka-connect:iceberg-kafka-connect-runtime:publishApachePublicationToMavenLocal FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':iceberg-kafka-connect:iceberg-kafka-connect-runtime:publishApachePublicationToMavenLocal'.
> Failed to publish publication 'apache' to repository 'mavenLocal'
   > Artifact iceberg-kafka-connect-runtime-1.7.0-SNAPSHOT.jar wasn't produced by this build.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.10/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 2m 22s
296 actionable tasks: 285 executed, 11 up-to-date

Query engine

None

Willingness to contribute

  • I can contribute this improvement/feature independently
  • I would be willing to contribute this improvement/feature with guidance from the Iceberg community
  • I cannot contribute this improvement/feature at this time

Metadata

Metadata

Assignees

Labels

improvementPR that improves existing functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions