JBoss AS 6 Maven 存储库
我正在将我已经开发了一段时间的系统升级到 JBoss AS 6 (6.0.0-Final)。 JBoss 一切正常,但我找不到 Maven 存储库。我阅读了他们网站上的信息,引导我访问: https://repository.jboss .org/nexus/content/repositories/releases
但是它只包含 Jboss 4.2.3.GA?!
I am upgrading an system I have been developing for some time now to JBoss AS 6 (6.0.0-Final). Everything works well with JBoss but I can't find a maven repository. I read the information on their web-site which directs me to: https://repository.jboss.org/nexus/content/repositories/releases
However it only contains Jboss 4.2.3.GA?!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我相信我的问题是不正确的。这就是我认为正确的答案:
当包不存在时,Maven2 总是使用 http://repo1.maven.org/maven2/ 作为后备在提供的存储库中找到。因此,应该提供 jboss 存储库, https://repository.jboss.org/ nexus/content/groups/public-jboss/,但它只包含 jboss 特定的包。对于其他所有内容(javaee 包等),应使用 maven2 后备存储库。
我不明白 Maven2 存储库总是被用作后备。所以当我在 Jboss 存储库中找不到我需要的包时,我感到很困惑。
I believe that my question is incorrect. This is what I believe is the correct answer:
Maven2 always uses http://repo1.maven.org/maven2/ as a fallback when packages are not found in the repositories supplied. So one should supply the jboss repository, https://repository.jboss.org/nexus/content/groups/public-jboss/, but it will only contain jboss specific packages. For everything else (javaee packages and so on) the maven2 fallback reposity should be used.
I didn't understand that a Maven2 repository was always used as a fallback. So I got confused when I couldn't find the packages I needed in the Jboss repository.
groupId 已更改为
org.jboss.as
这里是 一些 7.x Alpha 版本
这里有一些 通过 nexus 的 6.x 版本链接(找不到这些版本的可浏览版本)
The groupId has changed to
org.jboss.as
Here are some 7.x Alpha releases
And here are some 6.x release links through nexus (couldn't find a browsable version of these)