我查看了eclipse git的最新源代码:git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git
当我执行mvn eclipse:eclipse或mvn clean验证目标时,它会抛出下面提到的错误:
[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.
答案 0 :(得分:5)
您尝试构建的项目的Maven版本(请参阅pom.xml
)是快照版本,即它以-SNAPSHOT
结尾。
在这种情况下,Tycho要求捆绑版本(请参阅META-INF/MANIFEST.MF
)有四个段,第四个段是字符串qualifier
。
目前,第四段是SNAPSHOT
。这需要在构建可以继续之前修复。