maven - 了解第谷错误编译: Missing requirement

标签 maven eclipse-plugin eclipse-rcp tycho

我正在使用 tycho 编译基于 Eclipse 的产品,但遇到编译错误,我不知道如何解决。

我的错误代码是:

[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: eu.geeking.gds.feature.group 1.0.0.qualifier
[ERROR]   Missing requirement: eu.geeking.gds.feature.group 1.0.0.qualifier requires 'org.eclipse.equinox.p2.iu; dev.geeking.gds.toolchain.cortexm 0.0.0' but it could not be found

https://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting接下来说:

 Missing requirement: <artifact> requires '<dependency>' but it could not be found.

 This line prints one of the mandatory dependencies which cannot be resolved. This can either be a dependency of the seed artifact, or a dependency of an artifact which is a direct or transitive dependency of the seed artifact. See below for details on the <dependency> part of the message.

但我的信息是

"Missing requirement: <artifact> requires '<dependency>'; <plugin-name> but it could not be found."

我知道插件“dev.geeking.gds.toolchain.cortexm”需要“org.eclipse.equinox.p2.iu”依赖项,但我找不到它。我已经编写了 'dev.geeking.gds.toolchain.cortexm' 插件,并且在 eclipse 中没有关于 'org.eclipse.equinox.p2.iu' 的任何错误,而且我不知道如何修复它。

最佳答案

菜鸟错误。

错误是模块dev.geeking.gds.toolchain.cortexm没有在pom.xml的模块部分声明,并且第谷找不到这个插件。

<modules>
        <module>dev.geeking.gds.toolchain.cortexm</module>
</modules>

谢谢大家!

关于maven - 了解第谷错误编译: Missing requirement,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58680290/

相关文章:

java - mvn tomcat7 :run-war or tomcat:run-war give a 404 and no logs

java - 如何动态填充 Eclipse 弹出菜单?

eclipse - 如何将透视栏切换器添加到纯 eclipse 4 rcp 应用程序

linux - Linux KDE 环境中的组合框问题

java.lang.ClassNotFoundException : com. sun.xml.wss.XWSSecurityException

java - Intellij Idea Maven 'cannot reconnect' 错误

maven - 实例化 EJBContainer 时出现异常

java - 从弹出窗口复制 eclipse 中的变量值的任何插件或快捷方式?

java - 如何从最近的启动下拉列表中删除无效的启动配置

java - 如何以编程方式在 eclipse 中添加我自己的 checkstyle?