我们正在使用Maven/Tycho构建Eclipse应用程序。内部eclipse一切都如预期的那样工作
clean install然而,由于我们的构建服务器是一个没有互联网连接的虚拟机,这是行不通的。我们跑
clean install --offline 但上面一直写着:
The POM for org.eclipse.tycho:tycho-maven-plugin:jar:0.25.0 is missing, no dependency information available
[ERROR] Some problems were encountered while processing the POMs:
Unresolveable build extension: Plugin org.eclipse.tycho:tycho-maven-plugin:0.25.0 or one of its dependencies could not be resolved:
The following artifacts could not be resolved: org.eclipse.tycho:tycho-maven-plugin:jar:0.25.0, org.codehaus.plexus:plexus-utils:jar:1.1:
Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.eclipse.tycho:tycho-maven-plugin:jar:0.25.0 has not been downloaded from it before. 是否有可能让tycho插件脱机使用?我们也可以提供POMs,如果你需要它来回答。
发布于 2017-09-04 10:06:39
是的,Tycho确实支持--offline (至少自从Tycho0.25修复了Bug 461787之后)。但是,您引用的错误消息表明,Tycho 本身并没有被初始mvn clean install完全下载。
检查本地Maven存储库中是否存在org.eclipse.tycho:tycho-maven-plugin:jar:0.25.0和org.codehaus.plexus:plexus-utils:jar:1.1 (来自错误消息),因为Maven抱怨在那里找不到它们。在此期间,你清理了当地的仓库吗?
https://stackoverflow.com/questions/46034401
复制相似问题