0

你好,

我尝试使用 Ivy 在一个简单的 java 项目中管理我的依赖项。我想使用休眠 3.6。但是当我在 ivy.xml 中添加依赖并尝试解决它时,它失败了,说它找不到 jboss-jacc-api_JDK4 版本 1.1.0。

在 maven 存储库中,hibernate 依赖于那个工件,但是如果我点击它,我有一个“请求的资源 () 不可用”。其他工件并非如此:我可以看到具有给定依赖项的页面,并且可以导航以查看项目的所有现有版本。

Maven存储库有什么问题吗?如何在休眠 3.6 中使用 Ivy?

非常感谢你的回答。

4

1 回答 1

0

can't find jboss-jacc-api_JDK4 version 1.1.0

This artifact is available in the JBoss repository under the groupId "org.jboss.javaee". This is an older groupId which was never sync'ed to Maven central, so the short term solution is to add the JBoss repository to your build configuration.

https://repository.jboss.org/nexus/content/groups/public

Longer term these artifacts should be copied over to Maven central so that they are available to default Maven builds, and other builds using the central Maven repository.

于 2012-08-30T20:44:36.773 回答