我在Windows上工作,ant build
出现此错误消息:
无法解决项目依赖性:正在安装的软件:缺少 要求:myProject_features.feature.group 1.2.0.qualifier要求 'org.eclipse.equinox.p2.iu; org.eclipse.e4.rcp.feature.group 0.0.0' 但找不到。
任何想法我为什么会遇到这个问题(仅在Windows上,因为它在Linux上没有任何问题)?
部分代码:
<includes
id="org.eclipse.help"
version="0.0.0"/>
<requires>
<import plugin="org.eclipse.ui.forms" version="3.6.100" match="greaterOrEqual"/>
<import plugin="org.eclipse.swt"/>
<import plugin="org.eclipse.equinox.common" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.equinox.registry" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.osgi" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.core.expressions" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.core.filesystem" version="1.3.0" match="compatible"/>
<import plugin="org.eclipse.core.runtime" version="3.12.0" match="compatible"/>
<import plugin="org.eclipse.osgi" version="3.13.0" match="compatible"/>
<import plugin="org.eclipse.equinox.common" version="3.10.0" match="compatible"/>
<import plugin="org.eclipse.core.jobs" version="3.10.0" match="compatible"/>
<import plugin="org.eclipse.equinox.registry" version="3.8.0" match="compatible"/>
<import plugin="org.eclipse.equinox.preferences" version="3.7.0" match="compatible"/>
<import plugin="org.eclipse.core.contenttype" version="3.7.0" match="compatible"/>
<import plugin="org.eclipse.equinox.app" version="1.3.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.core.runtime" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.swt" version="3.103.0" match="compatible"/>
<import plugin="org.eclipse.jface" version="3.15.0" match="compatible"/>
<import plugin="org.eclipse.ui.workbench" version="3.112.0" match="compatible"/>
<import plugin="org.eclipse.core.expressions" version="3.4.0" match="compatible"/>
<import plugin="org.eclipse.core.filesystem" version="1.0.0" match="compatible"/>
<import plugin="org.eclipse.help" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.swt" version="3.107.0" match="compatible"/>
<import plugin="org.eclipse.ui" version="3.106.0" match="compatible"/>
<import plugin="org.eclipse.ui.workbench" version="3.7.0" match="compatible"/>
<import plugin="org.eclipse.jface.text" version="3.2.0" match="compatible"/>
<import plugin="org.eclipse.equinox.p2.engine" version="2.0.0" match="compatible"/>
<import plugin="org.eclipse.equinox.p2.metadata" version="2.0.0" match="compatible"/>
<import plugin="org.eclipse.equinox.bidi" version="0.10.0"/>
<import plugin="org.eclipse.e4.core.services" version="2.0.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.e4.core.contexts" version="1.3.100" match="compatible"/>
<import plugin="org.eclipse.e4.ui.workbench" version="1.3.0" match="compatible"/>
<import plugin="org.eclipse.e4.core.commands" version="0.11.0" match="compatible"/>
<import plugin="org.eclipse.e4.ui.model.workbench" version="2.0.0" match="compatible"/>
<import plugin="org.eclipse.e4.core.di" version="1.6.0" match="compatible"/>
<import plugin="org.eclipse.e4.core.di.extensions" version="0.14.0" match="compatible"/>
<import plugin="org.eclipse.osgi.services" version="3.5.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.core.runtime" version="3.6.0" match="compatible"/>
<import plugin="org.eclipse.ui" version="3.6.0" match="compatible"/>
</requires>
出现错误:
[exec] [INFO] Resolving dependencies of MavenProject: myproject.group:myproject_features:1.2.0-SNAPSHOT @ D:\Projekte\HW61\myproject\workspaces\eclipse\myproject-workbench-features\pom.xml
[exec] [INFO] {osgi.os=win32, osgi.ws=win32, org.eclipse.update.install.features=true, osgi.arch=x86_64}
[exec] [ERROR] Cannot resolve project dependencies:
[exec] [ERROR] Software being installed: myproject_features.feature.group 1.2.0.qualifier
[exec] [ERROR] Missing requirement: myproject_features.feature.group 1.2.0.qualifier requires 'org.eclipse.equinox.p2.iu; org.eclipse.e4.rcp.feature.group 0.0.0' but it could not be found
[exec] [ERROR]
[exec] [ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[exec] [ERROR] Cannot resolve dependencies of MavenProject: myproject.group:myproject_features:1.2.0-SNAPSHOT @ D:\Projekte\HW61\myproject\workspaces\eclipse\myproject-workbench-features\pom.xml: See log for details -> [Help 1]
[exec] [ERROR]
[exec] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[exec] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[exec] [ERROR]
[exec] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[exec] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException
[exec] Result: 1