Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Maven 理解Tycho错误编译:缺少需求_Maven_Eclipse Plugin_Eclipse Rcp_Tycho - Fatal编程技术网

Maven 理解Tycho错误编译:缺少需求

Maven 理解Tycho错误编译:缺少需求,maven,eclipse-plugin,eclipse-rcp,tycho,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.q

我正在与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
在下一页:

 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”的任何错误,我不知道如何修复它。

Noob错误

错误在于pom.xml的modules部分中没有声明module
dev.geeking.gds.toolchain.cortexm
,tycho找不到该插件

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

dev.geeking.gds.toolchain.cortexm

谢谢你们

我认为,
org.eclipse.equinox.p2.iu
只是指p2安装程序的“可安装单元”(installable unit,iu),它不是插件。所以我认为这只是说“可安装单元”
dev.geeking.gds.toolchain.cortexm
是必需的。我在格雷格读它的时候读到了:
eu.geeking.gds.feature.group
版本1.0.0需要缺少的任何版本(
0.0.0
)的可安装单元
dev.geeking.gds.toolchain.cortexm
)。非常感谢!我将处理这个问题,我将谈谈这个问题。