问题描述
我正在将旧版Java应用程序buidl系统转换为使用Maven和Tycho构建。我当前正在构建一个Eclipse产品文件。 tycho构成了产品的各个插件和功能。但是一旦tycho尝试解决产品的依赖关系,我会收到错误消息:
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: at.jku.mevss.monitoringmanager 1.0.0.qualifier
[ERROR] Only one of the following can be installed at once: [org.eclipse.equinox.registry 3.8.100.v20180827-1235,org.eclipse.equinox.registry 3.6.100.v20160223-2218,org.eclipse.equinox.registry 3.5.200.v20120522-1841,org.eclipse.equinox.registry 3.5.400.v20140428-1507,org.eclipse.equinox.registry 3.5.100.v20110502,org.eclipse.equinox.registry 3.6.0.v20150318-1503]
[ERROR] Only one of the following can be installed at once: [org.eclipse.ui 3.103.0.v20120705-114351,org.eclipse.ui 3.8.0.v20120523-1546,org.eclipse.ui 3.107.0.v20150507-1945,org.eclipse.ui 3.108.1.v20160929-1045,org.eclipse.ui 3.104.0.v20121024-145224,org.eclipse.ui 3.8.2.v20121018-234953,org.eclipse.ui 3.110.0.v20180828-1350,org.eclipse.ui 3.7.0.I20110602-0100,org.eclipse.ui 3.103.0.v20120521-2329,org.eclipse.ui 3.106.0.v20140519-0906]
[ERROR] Cannot satisfy dependency: at.jku.mevss.idetools.rcp.feature.feature.group 0.1.0.qualifier depends on: org.eclipse.equinox.p2.iu; org.eclipse.core.runtime.compatibility.registry 0.0.0
[ERROR] Cannot satisfy dependency: at.jku.mevss.monitoringmanager 1.0.0.qualifier depends on: org.eclipse.equinox.p2.iu; at.jku.mevss.idetools.rcp.feature.feature.group 0.0.0
[ERROR] Cannot satisfy dependency: at.jku.mevss.monitoringmanager 1.0.0.qualifier depends on: org.eclipse.equinox.p2.iu; at.jku.mevss.util.feature.feature.group 0.0.0
[ERROR] Cannot satisfy dependency: at.jku.mevss.monitoringmanager 1.0.0.qualifier depends on: org.eclipse.equinox.p2.iu; org.eclipse.platform.feature.group 0.0.0
[ERROR] Cannot satisfy dependency: at.jku.mevss.ui.util 1.0.0.qualifier depends on: osgi.bundle; org.jfree.jfreechart 0.0.0
[ERROR] Cannot satisfy dependency: at.jku.mevss.util.feature.feature.group 0.4.0.qualifier depends on: org.eclipse.equinox.p2.iu; at.jku.mevss.ui.util 0.0.0
[ERROR] Cannot satisfy dependency: org.eclipse.core.runtime.compatibility.registry 3.5.100.v20120521-2346 depends on: osgi.bundle; org.eclipse.equinox.registry [3.5.0,3.6.0)
[ERROR] Cannot satisfy dependency: org.eclipse.core.runtime.compatibility.registry 3.5.101.v20130108-163257 depends on: osgi.bundle; org.eclipse.equinox.registry [3.5.0,3.6.0)
[ERROR] Cannot satisfy dependency: org.eclipse.platform.feature.group 3.8.0.v20120607-071945-9gF7jI7nG5qByXMVdkhRMWBQlF4PnDCLybDCPQ depends on: org.eclipse.equinox.p2.iu; org.eclipse.rcp.feature.group [3.8.0.v20120528-1716-92BmGJTFw3Ez0W7_KvHqgZUR,3.8.0.v20120528-1716-92BmGJTFw3Ez0W7_KvHqgZUR]
[ERROR] Cannot satisfy dependency: org.eclipse.platform.feature.group 3.8.1.v20120815-074604-9gF7jI7wG5qDyZMWGg8NPvDbfWFWlIJU-kYaOQ depends on: org.eclipse.equinox.p2.iu; org.eclipse.rcp.feature.group [3.8.1.v20120814-105048-92BmGJlFw3Ez0WZ9TxCqgcSVAE,3.8.1.v20120814-105048-92BmGJlFw3Ez0WZ9TxCqgcSVAE]
[ERROR] Cannot satisfy dependency: org.eclipse.platform.feature.group 3.8.1.v20130118-180812-9jF7oIBFG8eU2pim-VbIlTuQjY0RWWK3x-bv4I depends on: org.eclipse.equinox.p2.iu; org.eclipse.rcp.feature.group [3.8.2.v20130118-180157-96BuGOZFxwOAeG8Ofmqicz0tPK,3.8.2.v20130118-180157-96BuGOZFxwOAeG8Ofmqicz0tPK]
[ERROR] Cannot satisfy dependency: org.eclipse.platform.feature.group 4.2.0.v20120608-135145-9JF7BHV8FyMteji0Oi_ePMz0xuZ8TVo7lV0z0ecb depends on: org.eclipse.equinox.p2.iu; org.eclipse.rcp.feature.group [4.2.0.v20120528-1648-7IAPA7BrHQicrpndOz-Obz-rlRCA,4.2.0.v20120528-1648-7IAPA7BrHQicrpndOz-Obz-rlRCA]
[ERROR] Cannot satisfy dependency: org.eclipse.platform.feature.group 4.2.1.v20120814-120134-9JF7BHVGFyMveli1uX6aTH0q-eAap6PAgOP5mO depends on: org.eclipse.equinox.p2.iu; org.eclipse.rcp.feature.group [4.2.1.v20120814-120134-7IAPA8BrHQicS-rjP0GbqK780kMy,4.2.1.v20120814-120134-7IAPA8BrHQicS-rjP0GbqK780kMy]
[ERROR] Cannot satisfy dependency: org.eclipse.platform.feature.group 4.2.1.v20130118-173121-9MF7GHYdG0B5kx4E_SkfZV-1mNjVATf67ZAb7 depends on: org.eclipse.equinox.p2.iu; org.eclipse.rcp.feature.group [4.2.2.v20130129-152330-7IaraABrMQkGSvMgQnUlz-DQz00h,4.2.2.v20130129-152330-7IaraABrMQkGSvMgQnUlz-DQz00h]
[ERROR] Cannot satisfy dependency: org.eclipse.platform.feature.group 4.6.3.v20170301-0400 depends on: org.eclipse.equinox.p2.iu; org.eclipse.ui.intro.quicklinks [1.0.0.v20160515-0255,1.0.0.v20160515-0255]
[ERROR] Cannot satisfy dependency: org.eclipse.platform.feature.group 4.9.0.v20180906-1121 depends on: org.eclipse.equinox.p2.iu; org.eclipse.urischeme [1.0.0.v20180828-1120,1.0.0.v20180828-1120]
[ERROR] Cannot satisfy dependency: org.eclipse.rcp.feature.group 3.8.0.v20120528-1716-92BmGJTFw3Ez0W7_KvHqgZUR depends on: org.eclipse.equinox.p2.iu; org.eclipse.ui [3.8.0.v20120523-1546,3.8.0.v20120523-1546]
[ERROR] Cannot satisfy dependency: org.eclipse.rcp.feature.group 3.8.1.v20120814-105048-92BmGJlFw3Ez0WZ9TxCqgcSVAE depends on: org.eclipse.equinox.p2.iu; org.eclipse.ui [3.8.0.v20120523-1546,3.8.0.v20120523-1546]
[ERROR] Cannot satisfy dependency: org.eclipse.rcp.feature.group 3.8.2.v20130118-180157-96BuGOZFxwOAeG8Ofmqicz0tPK depends on: org.eclipse.equinox.p2.iu; org.eclipse.ui [3.8.2.v20121018-234953,3.8.2.v20121018-234953]
[ERROR] Cannot satisfy dependency: org.eclipse.rcp.feature.group 4.2.0.v20120528-1648-7IAPA7BrHQicrpndOz-Obz-rlRCA depends on: org.eclipse.equinox.p2.iu; org.eclipse.ui [3.103.0.v20120521-2329,3.103.0.v20120521-2329]
[ERROR] Cannot satisfy dependency: org.eclipse.rcp.feature.group 4.2.1.v20120814-120134-7IAPA8BrHQicS-rjP0GbqK780kMy depends on: org.eclipse.equinox.p2.iu; org.eclipse.ui [3.103.0.v20120705-114351,3.103.0.v20120705-114351]
[ERROR] Cannot satisfy dependency: org.eclipse.rcp.feature.group 4.2.2.v20130129-152330-7IaraABrMQkGSvMgQnUlz-DQz00h depends on: org.eclipse.equinox.p2.iu; org.eclipse.ui [3.104.0.v20121024-145224,3.104.0.v20121024-145224]
[ERROR] Cannot satisfy dependency: org.eclipse.ui.intro.quicklinks 1.0.0.v20160515-0255 depends on: osgi.bundle; org.eclipse.equinox.registry 3.6.100
[ERROR] Cannot satisfy dependency: org.eclipse.urischeme 1.0.0.v20180828-1120 depends on: osgi.bundle; org.eclipse.equinox.registry [3.8.0,4.0.0)
[ERROR] Cannot satisfy dependency: org.jfree.jfreechart 1.0.13.201902282149 depends on: osgi.bundle; org.eclipse.ui 3.107.0
我已经遍历了所有相关的清单文件,并将所有require-bundle
项设置为3.8.0 with match=greaterOrEqual
,但未产生任何结果。
可能是问题源自传递依赖吗?如果是,我如何找出导致问题的依赖性,以及如何解决它们?由于要通过p2存储库解决大量依赖关系,因此我添加了很多p2存储库,因此该版本可能能够访问各种不同版本的eclipse软件包。这可能是一个问题吗?
此外,jfreechart依赖项是可通过p2存储库使用的唯一依赖项,并且比项目的其余部分需要org.eclipse.ui
较新的版本,并且具有固定的版本号。这可能是一个问题,有没有办法从以前在构建过程中未显示任何信息的Maven捆绑包中生成此依赖关系作为Eclipse捆绑包?
在为项目创建依赖关系树时,我看到某些项目需要不同的版本。这些依存关系并未显示为可传递的,并且我没有对其进行专门设置,因此我不知道版本要求的来源。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)