繁体   English   中英

第谷Maven离线版本

[英]Tycho Maven Offline Build

我们正在使用Maven / Tycho构建Eclipse RCP应用程序。 在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-maven-plugin是否可以脱机使用? 如果您需要回答,我们也可以提供POM。

是的,Tycho确实支持--offline (至少自Tycho 0.25起,已修复Bug 461787 )。 但是,您引用的错误消息表明,最初的mvn clean install未完全下载Tycho 本身

检查org.eclipse.tycho:tycho-maven-plugin:jar:0.25.0org.codehaus.plexus:plexus-utils:jar:1.1 (来自错误消息)是否都以Maven的形式存在于本地Maven存储库中抱怨说在那里找不到他们。 您是否同时清理了本地存储库?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM