gpt4 book ai didi

maven - 第谷验证版本目标失败,错误 "OSGi version 3.10.0.SNAPSHOT must have .qualifier qualifier for SNAPSHOT builds"

转载 作者:行者123 更新时间:2023-12-05 01:03:59 31 4
gpt4 key购买 nike

我从 eclipse git 中查看了最新的源代码:git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git
当我执行 mvn eclipse:eclipse 或 mvn clean verify 目标时,它会抛出下面提到的错误:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.20.0:validate-version (default-validate-version) on project org.eclipse.osgi: OSGi version 3.10.0.SNAPSHOT must have .qualifier qualifier for SNAPSHOT builds -> [Help 1]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

最佳答案

您尝试构建的项目的 Maven 版本(参见 pom.xml)是快照版本,即它以 -SNAPSHOT 结尾。 .

在这种情况下,第谷要求捆绑版本(见 META-INF/MANIFEST.MF)有四个段,第四段是字符串 qualifier .

目前,第四段是SNAPSHOT .这需要在构建可以继续之前修复。

关于maven - 第谷验证版本目标失败,错误 "OSGi version 3.10.0.SNAPSHOT must have .qualifier qualifier for SNAPSHOT builds",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24060274/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com