首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法读取工件的元数据文件“org.apache.iles:tiles-core:jar”

无法读取工件的元数据文件“org.apache.iles:tiles-core:jar”
EN

Stack Overflow用户
提问于 2018-02-15 09:31:13
回答 3查看 2.1K关注 0票数 5

在今天的maven构建过程中,我得到了以下错误。

代码语言:javascript
复制
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目前处于脱机状态,等待最终将其数据迁移到我们的新数据中心。“

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

有人能提出解决办法吗?

注意:我使用的是Maven 3.0.5,JDK 7

注意:清除.m2文件夹没有什么区别。找到元数据仍然失败。

EN

回答 3

Stack Overflow用户

回答已采纳

发布于 2018-02-16 04:41:05

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

代码语言:javascript
复制
Project web is currently offline pending the final migration of its data to our new datacenter

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

票数 5
EN

Stack Overflow用户

发布于 2018-02-15 15:12:00

我也有同样的错误。它来自:http://javaxdelta.sourceforge.net/maven2/repository/,它正在做一些维护工作,每个请求都会响应:"Project目前处于脱机状态,等待最终将其数据迁移到我们的新数据中心。“现在,当maven从回购中获取pom.xml时,它将这个字符串写成pom.xml :S。

我的解决方案是重构我的maven回购引用,以摆脱sourceforge引用,因为我已经从central获得了所需的一切。

票数 3
EN

Stack Overflow用户

发布于 2018-02-18 08:57:05

由于数据迁移,SourceForge在很长一段时间内移动了他们的数据:

代码语言:javascript
复制
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.

今天,他们宣布一切都开始运作了通常:

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

因此,您将不会在Maven构建过程中获得错误。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/48803862

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档