EclipseLink/Maven 存储库去了哪里? (再次)
是的,我知道,这个主题之前曾被问过,但是存储库再次移动。有人看过吗?我将非常感激。
Yes, I know, the subject was asked before, but the repository moved again. Has anybody seen it? I would be much obliged.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
快速搜索会显示一长串镜像,他们中的大多数人返回 404,但他们的 缓存条目仍然可见(目前)。因此,这些文件似乎确实已从源头删除,而且是最近才删除的。
以下是一些仍然具有文件的镜像(目前):
http://linorg.usp.br/eclipse/rt/eclipselink/maven.repo/http://mirror.neu.edu.cn/eclipse/rt/eclipselink /maven.repo/更新:
eclipselink 邮件列表上的这个线程揭示了一些相当奇怪的东西——虽然
maven.repo
目录不可访问(404),但子路径解析为.jar< /code> 或
.pom
文件仍然有效!虽然相关文件仍然可以访问,但这会扰乱镜像过程以及首先检查存储库是否存在的任何工作流程。从链接的线程:
A quick search reveals a long list of mirrors, most of them returning 404s but their cache entry is still viewable (for now). So it does seem like the files have been removed at the source, and rather recently too.
Here are a few mirrors that still have the files (for now):
http://linorg.usp.br/eclipse/rt/eclipselink/maven.repo/http://mirror.neu.edu.cn/eclipse/rt/eclipselink/maven.repo/Update:
This thread on the eclipselink mailing list reveals something rather bizzare -- while the
maven.repo
directory is not accessible (404), subpaths that resolves to.jar
or.pom
files will still work!While the relevant files are still accessible, this messes up the mirroring process as well as any workflow that first checks if the repo exists. From the linked thread:
最后,在 Eclipse wiki 页面上至少有一个合理的解释来解释为什么它不起作用,请参阅 http://wiki .eclipse.org/EclipseLink/Maven。这些库目前仅托管在普通 Maven 无法理解的 P2 存储库中。基本上,您必须通过 Nexus 或其他存储库管理器代理它们。我链接到的页面有配置(开源)Nexus 的说明,高级版本可以本地读取 P2 存储库。
Finally there's at least a reasonable explanation on Eclipse wiki pages for why it doesn't work, see http://wiki.eclipse.org/EclipseLink/Maven. The libraries are currently only hosted in a P2 repo which plain Maven doesn't understand. Basically, you have to proxy them through via Nexus or another repo manager. The page I linked to has instructions for configuring (open source) Nexus, the premium version can read P2 repos natively.
这对我有用
This worked for me
从 EclipseLink 2.5.0 开始,EclipseLink 存储库位于 Maven Central 上。
EclipseLink 2.4.2 版本和当前开发版本位于 http://oss.sonatype.org:
可以在以下存储库中找到旧版本:
了解更多信息
As of EclipseLink 2.5.0 the EclipseLink respository is on Maven Central.
The EclipseLink 2.4.2 release and the current development builds are on http://oss.sonatype.org:
Older releases can be found at the following repository:
For More Information
你是对的,所有 Eclipse Maven 存储库似乎都不起作用。
不过,java.net 上的存储库确实提供了 JPA 实现: http://download.java.net/maven/2/org/eclipse/persistence/javax.persistence/2.0.0/
我不知道它是否有什么好处。
尽管如此,Eclipse Maven 存储库仍需要修复。
You are right, none of the Eclipse Maven repositories seem to work.
The repository at java.net does, however provide a JPA implementation: http://download.java.net/maven/2/org/eclipse/persistence/javax.persistence/2.0.0/
I don't know if it's any good.
Still, the Eclipse Maven repos need to be fixed.