【问题标题】:Non-resolvable parent POM for io.confluent:kafka-connect-storageio.confluent:kafka-connect-storage 的不可解析父 POM
【发布时间】:2020-07-15 01:30:18
【问题描述】:

我对 Kafka 和 maven 还是很陌生。我将 confluentinc (https://github.com/confluentinc/kafka-connect-storage-common) 的官方 repo 中的代码作为 maven 项目导入到 eclipse 中,所有项目都出现以下错误。有一个 Kafka docker 正在与代码相同的文件夹中运行。关于如何解决这个问题的任何想法? 有没有办法在日食中运行它?我需要添加什么类型的依赖项?

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'

【问题讨论】:

    标签: java maven apache-kafka confluent-platform


    【解决方案1】:

    已回复您的 Github 问题。

    SNAPSHOT 构建将永远无法从 Maven Central 获得,${confluent.repo} 不需要更改。

    阅读 Github wiki 中的常见问题解答。克隆并安装每个依赖项(检查最新的稳定构建分支并跳过测试)。

    然后该项目应该构建。

    【讨论】:

      猜你喜欢
      • 2023-04-01
      • 2011-11-28
      • 2022-01-07
      • 2019-04-04
      • 1970-01-01
      • 1970-01-01
      • 2019-12-13
      • 1970-01-01
      • 2021-11-16
      相关资源
      最近更新 更多