无法读取工件 'org.apache.tiles:tiles-core:jar' 的元数据文件

Unable to read the metadata file for artifact 'org.apache.tiles:tiles-core:jar'

我今天在构建 maven 时遇到以下错误。

Unable to resolve artifact: Unable to get dependency information: Unable to read the metadata file for artifact 'org.apache.tiles:tiles-core:jar': Cannot find parent: org.apache.tiles:tiles-parent for project: null:tiles-core:jar:null for project null:tiles-core:jar:null
08:52:47   org.apache.tiles:tiles-core:jar:2.0.6
08:52:47 
08:52:47 from the specified remote repositories:
08:52:47   apache.snapshots (http://repository.apache.org/snapshots),
08:52:47   central (http://repo1.maven.org/maven2),
08:52:47   nexus (http://10.210.40.37:8081/nexus/content/groups/public)
08:52:47 
08:52:47 Path to dependency: 
08:52:47    1) org.apache.maven:super-pom:pom:2.0
08:52:47    2) com.p.v.a.legacy:bo:jar:3.113.0-SNAPSHOT
08:52:47    3) com.p.v.a.legacy:s2-common:jar:3.113.0-SNAPSHOT
08:52:47    4) org.apache.struts:struts2-tiles-plugin:jar:2.3.16.3

我认为是因为网站:dtddoc.sf.net 显示 "Project web is currently offline pending the final migration of its data to our new datacenter."

哪个maven正在下载pom,然后发现是无效的。

谁能提出解决方案?

注意:我使用的是 Maven 3.0.5,JDK7

注意:清除 .m2 文件夹没有任何区别。还是找不到元数据。

我遇到了同样的错误。它来自: http://javaxdelta.sourceforge.net/maven2/repository/ 他们正在做一些维护工作,每个请求都会响应: "Project web is currently offline pending the final migration of its data to our new datacenter." 现在,当 maven 从他们的 repo 中获取 pom.xml 时,它将此字符串记为 pom.xml :S

我的解决方案是重构我的 maven repo 引用,以摆脱 sourceforge 引用,因为无论如何我从中央获得了我需要的一切。

根据 SourceForge 的官方博客,他们正在将数据转移到一个新的数据中心。因此,所有网站(由其服务器托管)在此期间都会收到此消息:

Project web is currently offline pending the final migration of its data to our new datacenter

您可以在以下位置阅读有关此维护的更多信息:https://sourceforge.net/blog/upcoming-sourceforge-hardware-refresh/

由于data migration,SourceForge 移动了很长时间的数据:

This coming week, Feb 12th-Feb 15th, SourceForge & @Slashdot will be cutting over to a new datacenter.
We will be working hard to ensure that there will be as few issues as possible, but we want to inform the community in the event any issues arise.

今天,他们通常宣布everything started working

Update: Project website hosting and SFTP uploads have been restored. Thanks for your patience.

因此,您不会在 Maven 构建期间收到错误。