Понимание компиляции ошибки Tycho: отсутствует требование - PullRequest
0 голосов
/ 03 ноября 2019

Я собираю продукт на основе затмения с Tycho, и у меня есть ошибка компиляции, которую я не знаю, как решить.

Мой код ошибки:

[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', и у меня нет никаких ошибок по поводу 'org.eclipse.equinox.p2.iu' в eclipse, и я не знаю, как это исправить.

1 Ответ

0 голосов
/ 09 ноября 2019

Ошибка нуба.

Ошибка состояла в том, что модуль dev.geeking.gds.toolchain.cortexm не был объявлен в разделе модулей pom.xml и Tycho не смог найти этот плагин.

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

Спасибо, ребята!

...