【问题标题】:Compilation errors after import of "cumulocity-agents" project of Cumulocity in STS在 STS 中导入 Cumulocity 的“cumulocity-agents”项目后编译错误
【发布时间】:2019-08-20 13:28:22
【问题描述】:

我从 Bitbucket 下载了 Cumulocity 的“cumulocity-agents”项目,然后在 STS 中将其作为“现有 Maven 项目”导入,我得到了很多编译错误。

我按照项目的Bitbucket页面中的描述更改了Maven的settings.xml,安装了Lombok,但还是有很多错误。然后我开始修复错误,向 STS 提供从哪些 jars 加载某些类的信息。此错误几乎已修复,但我在 pom.xml 文件中仍有错误。

pom 文件顶部的错误如下: 项目构建错误:com.nsn.cumulocity.clients-java:clients-java:8.18.12 的不可解析父 POM:在http://resources.cumulocity.com/maven/repository 中找不到 com.nsn.cumulocity.root:root:pom:8.18.1已缓存在本地存储库中,直到 cumulocity-maven-repo 的更新间隔已过或强制更新后才会重新尝试解析

项目构建错误:不可解析的导入 POM:未能在 http:// 中找到 com.nsn.cumulocity.clients-java:microservice-dependencies:pom:1005.1.0-SNAPSHOT resources.cumulocity.com/maven/repository 已缓存在本地存储库中,直到 cumulocity-maven-repo 的更新间隔已过或 强制更新

然后在 pom 文件中还有其他不同的错误。

请告知如何解决此问题或告诉我在尝试本地编译项目时我做错了什么。

【问题讨论】:

    标签: maven compilation project cumulocity


    【解决方案1】:

    cumulocity-agents 不是公共存储库,其内容不打算供外部人员使用、编译或开发。

    有关如何使用该项目的详细信息,请参阅内部文档。

    【讨论】:

      猜你喜欢
      • 2019-10-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-07-05
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多