Search code examples
javamavenapache-kafkaconfluent-platform

Non-resolvable parent POM for io.confluent:kafka-connect-storage


I am pretty new to Kafka and maven. I imported the code from the official repo of confluentinc (https://github.com/confluentinc/kafka-connect-storage-common) into eclipse as a maven project and I got the following error for all the projects. There is a Kafka docker is running in the same folder as the code. Any thoughts on how to solve this? Is there a way to run this in the eclipse? what type of dependencies do I need to add?

Project build error: Non-resolvable parent POM for io.confluent:kafka-connect-storage-         common-  parent:6.0.0-
SNAPSHOT: Failure to transfer io.confluent:common:pom:6.0.0-SNAPSHOT from    ${confluent.maven.repo} was cached in
the local repository, resolution will not be reattempted until the update interval of confluent has elapsed or updates are
forced. Original error: Could not transfer artifact io.confluent:common:pom:6.0.0-SNAPSHOT from/to confluent ($
{confluent.maven.repo}): Cannot access ${confluent.maven.repo} with type default using the available connector
factories: AetherRepositoryConnectorFactory, BasicRepositoryConnectorFactory and 'parent.relativePath' points at
wrong local POM'

Solution

  • Responded to your Github issue.

    SNAPSHOT builds will never be available from Maven Central and ${confluent.repo} doesn't need changed.

    Read the FAQ in the Github wiki. Clone and install each dependency (checking out the latest, stable (or necessary dependency version) branch and build/install each while skipping tests, if you would like).

    Then that project should build.