问题描述
最近,我在新计算机上创建了新的maven项目,它表明对jboss作为客户端的依赖项不再可用:
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>
存储库资源为:
<repositories>
<repository>
<id>jboss-maven2</id>
<url>http://repository.jboss.com/maven2</url>
</repository>
</repositories>
是否存在任何新的存储库URL,因为由于此站点损坏而无法下载任何依赖项?
Is there any new repository url, because I can not download any dependency since this site is broken?
推荐答案
检查此帖子. JBoss Maven存储库已迁移到新的Nexus存储库.旧的回购协议已保留了一段时间,但似乎他们同时撤消了公共访问权限.
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.
有关详细信息,请参见文档,但是您可能需要新的回购网址 https: //repository.jboss.org/nexus/content/groups/public ,其中包含您所需的工件.
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作为客户端5.1.0.GA存储库丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!