gpt4 book ai didi

maven - Unresolved 依赖 org.jboss.arquillian :arquillian-bom in JBoss 7 Quickstarts

转载 作者:行者123 更新时间:2023-12-02 02:22:11 27 4
gpt4 key购买 nike

我正在尝试让 arquillian 与 jboss 7 一起运行。我已经从 JBoss 站点下载了 Quickstart 项目,地址为 http://www.jboss.org/jbossas/downloads ,但我在 kitchensink 项目中运行 Arquillian 测试时遇到了问题。

Maven 无法找到:

org.jboss.arquillian:arquillian-bom:pom:1.0.0.CR1

当我运行时

mvn clean test -Parq-jbossas-managed

Maven 总是找不到 Artifact :

Downloading: http://repo1.maven.org/maven2/org/jboss/arquillian/arquillian-bom/1.0.0.CR1/arquillian-bom-1.0.0.CR1.pom[INFO] Unable to find resource 'org.jboss.arquillian:arquillian-bom:pom:1.0.0.CR1' in repository central (http://repo1.maven.org/maven2)[INFO] ------------------------------------------------------------------------[ERROR] BUILD ERROR[INFO] ------------------------------------------------------------------------[INFO] Error building POM (may not be this project's POM).Project ID: org.jboss.arquillian:arquillian-bomReason: POM 'org.jboss.arquillian:arquillian-bom' not found in repository: Unable to download the artifact from any repository  org.jboss.arquillian:arquillian-bom:pom:1.0.0.CR1from the specified remote repositories:  central (http://repo1.maven.org/maven2) for project org.jboss.arquillian:arquillian-bom

我使用的是 Maven 3,尽管使用 Maven 2 结果是一样的。

有人遇到这个依赖问题吗?

最佳答案

依赖项 org.jboss.arquillian:arquillian-bom 依赖项在 JBoss Maven 存储库中可用。最好是 add the "jboss-public" group of the JBoss Maven repository to your Maven settings.xml file这样您就不需要将此存储库添加到每个项目 POM。

关于maven - Unresolved 依赖 org.jboss.arquillian :arquillian-bom in JBoss 7 Quickstarts,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7610950/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com