EclipseLink/Maven 存储库去了哪里? (再次)

发布于 2024-12-17 13:47:17 字数 155 浏览 0 评论 0原文

是的,我知道,这个主题之前曾被问过,但是存储库再次移动。有人看过吗?我将非常感激。

Yes, I know, the subject was asked before, but the repository moved again. Has anybody seen it? I would be much obliged.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

紫﹏色ふ单纯 2024-12-24 13:47:17

快速搜索会显示一长串镜像,他们中的大多数人返回 404,但他们的 缓存条目仍然可见(目前)。因此,这些文件似乎确实已从源头删除,而且是最近才删除的。

以下是一些仍然具有文件的镜像(目前):


更新:

eclipselink 邮件列表上的这个线程揭示了一些相当奇怪的东西——虽然maven.repo目录不可访问(404),但子路径解析为.jar< /code> 或 .pom 文件仍然有效!

虽然相关文件仍然可以访问,但这会扰乱镜像过程以及首先检查存储库是否存在的任何工作流程。从链接的线程:

“这当然会对您可能拥有的代理 EclipseLink 存储库的任何 Nexus 或 Artifactory 存储库造成严重破坏,因为它会得出结论:EclipseLink 的存储库已停止服务,尽管严格来说它并未停止服务。解决方案是关闭对存储库的任何自动检查和/或对其的自动阻止。”

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):


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:

"This of course wreaks havoc on any Nexus or Artifactory repository you may have that proxies the EclipseLink repository, as it will conclude that EclipseLink's repo is out of service even though strictly speaking it is not. The solution is to turn off any automatic checking of the repository and/or automated blocking of it."

夜访吸血鬼 2024-12-24 13:47:17

最后,在 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.

雪化雨蝶 2024-12-24 13:47:17

这对我有用

<repository>
    <id>eclipse</id>
    <url>http://download.eclipse.org/rt/eclipselink/maven.repo</url>
</repository>

<dependency>
    <groupId>org.eclipse.persistence</groupId>
    <artifactId>org.eclipse.persistence.core</artifactId>
    <version>2.3.1</version>
</dependency>

This worked for me

<repository>
    <id>eclipse</id>
    <url>http://download.eclipse.org/rt/eclipselink/maven.repo</url>
</repository>

<dependency>
    <groupId>org.eclipse.persistence</groupId>
    <artifactId>org.eclipse.persistence.core</artifactId>
    <version>2.3.1</version>
</dependency>
娇柔作态 2024-12-24 13:47:17

从 EclipseLink 2.5.0 开始,EclipseLink 存储库位于 Maven Central 上。

EclipseLink 2.4.2 版本和当前开发版本位于 http://oss.sonatype.org

<repository>
    <id>oss.sonatype.org</id>
    <name>OSS Sonatype Staging</name>
    <url>https://oss.sonatype.org/content/groups/staging</url>
</repository>

可以在以下存储库中找到旧版本:

<repository>
   <id>EclipseLink</id>
   <url>http://download.eclipse.org/rt/eclipselink/maven.repo</url>
</repository>

了解更多信息

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:

<repository>
    <id>oss.sonatype.org</id>
    <name>OSS Sonatype Staging</name>
    <url>https://oss.sonatype.org/content/groups/staging</url>
</repository>

Older releases can be found at the following repository:

<repository>
   <id>EclipseLink</id>
   <url>http://download.eclipse.org/rt/eclipselink/maven.repo</url>
</repository>

For More Information

为人所爱 2024-12-24 13:47:17

你是对的,所有 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文