JBoss 作为客户端 5.1.0.GA 存储库丢失
就在最近,我正在新计算机上创建新的 Maven 项目,它表明 jboss 作为客户端的依赖项不再可用:
<dependency>
<groupId>org.jboss.jbossas</groupId>
<artifactId>jboss-as-client</artifactId>
<version>5.1.0.GA</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
并且存储库资源是:
<repositories>
<repository>
<id>jboss-maven2</id>
<url>http://repository.jboss.com/maven2</url>
</repository>
</repositories>
是否有任何新的存储库 url,因为自该站点以来我无法下载任何依赖项坏了?
Just recently I was creating new maven project on new computer and it seams that the dependency for jboss as client isn't available anymore:
<dependency>
<groupId>org.jboss.jbossas</groupId>
<artifactId>jboss-as-client</artifactId>
<version>5.1.0.GA</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
And the repository resource is:
<repositories>
<repository>
<id>jboss-maven2</id>
<url>http://repository.jboss.com/maven2</url>
</repository>
</repositories>
Is there any new repository url, because I can not download any dependency since this site is broken?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
检查这个邮政。 JBoss Maven 存储库已迁移到新的 Nexus 存储库。旧的仓库已经保留了一段时间,但看起来他们同时撤销了公共访问。
有关详细信息,请参阅文档,但您可能需要新的存储库 URL https://repository .jboss.org/nexus/content/groups/public 其中包含您所需的工件。
Check this post. JBoss Maven repository has been migrated to a new Nexus repository. Old repo has been kept for a while, but it looks like they revoked public access in the meanwhile.
See the documentation for details, but you'll probably need the new repo url https://repository.jboss.org/nexus/content/groups/public which does contain your required artifact.
我在一个依赖 jboss-as-client:5.1.0.GA 的项目中遇到了同样的问题。
首先,您可以在 JBoss Nexus Maven 存储库 中搜索缺少的工件。单击它将显示它所在的存储库(例如 JBoss 第三方版本)。然后您可以查看 JBoss 存储库列表以获取您需要的存储库。我必须添加 JBoss Releases、JBoss Deprecated 和 JBoss Thirdparty 存储库。
I ran into the same issue with a project that depends on jboss-as-client:5.1.0.GA.
First, you can search the JBoss Nexus Maven repository for the artifact that is missing. Clicking on it will show you what repository it is in (such as JBoss Thirdparty Releases). Then you can view the list of JBoss repositories to get the URL for the repository you need. I had to add the JBoss Releases, JBoss Deprecated, and JBoss Thirdparty repositories.