iceberg icon indicating copy to clipboard operation
iceberg copied to clipboard

Issue with duplicate kafka connect artifacts

Open Fokko opened this issue 1 year ago • 1 comments

Feature Request / Improvement

I tried to push the Iceberg artifacts locally to test https://github.com/apache/iceberg/pull/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
  • [X] I cannot contribute this improvement/feature at this time

Fokko avatar Aug 27 '24 18:08 Fokko

cc @bryanck

Fokko avatar Aug 27 '24 18:08 Fokko