Maven:阅读已签名内容时出错

时间:2015-06-29 11:38:39

标签: java maven xtext tycho mwe

目前我正在研究maven(3.0.4)问题。我正在尝试清理一个生成java类等的项目(xtext,tycho ...),它不会在本地,jenkins或eclipse中工作。几天前它很棒,我在最后几天没有做任何改变!

Maven正在下载一些必要的文件,过了一会儿他试图下载例如org.eclipse.emf.mwe2.lib_2.8.0.v201505260335.jar,它失败了。他正在尝试更多镜像,下载也失败了。

麦文说:

"Retry another mirror": ["Problems downloading artifact: osgi.bundle,org.eclipse.emf.mwe2.lib,2.8.0.v201505260335.": ["Error reading signed content:D:\cygwin64\tmp\signatureFile7029196355039391088.jar"]

但我认为这里的问题不是下载。他无法处理下载的文件,因为该文件例如signatureFile7029196355039391088.jar存在且文件大小与我从其下载的服务器上的文件大小相同。

因为堆栈跟踪有点长并且每个镜像都重复这些消息,所以这里是stacktrace提取:

[ERROR] Internal error: java.lang.RuntimeException: "Messages while trying children repositories.": ["Messages while trying children repositories.": ["Messages while trying children repositories.": ["Messages while trying children repositories.": ["": ["Multiple problems occurred while downloading.": ["Failed to transfer artifact packed: osgi.bundle,org.eclipse.emf.mwe2.runtime,2.8.0.v201505260335.":["Problems downloading artifact: osgi.bundle,org.eclipse.emf.mwe2.lib,2.8.0.v201505260335.": ["Error reading signed content:D:\cygwin64\tmp\signatureFile7029196355039391088.jar"]]]]]]]]]
        at org.eclipse.tycho.p2.target.P2ArtifactDownloadTool.downloadArtifactsToLocalMavenRepository(P2ArtifactDownloadTool.java:58)
        at org.eclipse.tycho.p2.target.TargetPlatformImpl.downloadArtifacts(TargetPlatformImpl.java:196)
        at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:124)
        at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:76)
        at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:445)
        at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:422)
        at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:98)
        at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:61)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        ... 11 more

正如我所说,在不同环境中的行为相同:IDE,本地(cygwin)和unix(jenkins)。

有什么想法吗?

亲切的问候

0 个答案:

没有答案