从哪里获得冬眠jars? [英] where to get hibernate jars from?
问题描述
我不知道你们中有多少人注意到 http://repository.jboss.org/maven2 是下。你从哪里得到你的罐子?
例如,如果你想休眠3.5.6-Final,你从哪里得到它?
提前致谢
From Hibernate's download page ,JBoss Maven Repository在 https://repository.jboss.org/nexus/content/groups/public/
您的问题被标记为Maven- 2,但如果你没有使用Maven来管理依赖关系,你应该从 /maven2/org/hibernate/hibernate-annotations/3.5.6-Final/rel =nofollow noreferrer> Maven Central Repo sitory 。您可以使用hibernate 3.5.6的这些依赖关系,并带注释,而不指定任何额外的存储库:
< dependency>
< groupId> org.hibernate< / groupId>
< artifactId> hibernate-annotations< / artifactId>
< version> 3.5.6-最终< / version>
< /依赖关系>
您可能想要使用 hibernate-core
artifact,而其他非传递性依赖关系会被区分开。
看看这个可能的重复问题: 顺便说一下,它似乎是存储库。 jboss.org/maven2 已启用。 i dont know how many of you noticed http://repository.jboss.org/maven2 is down. where are you getting your jars from now? for example if you want hibernate 3.5.6-Final, where do you get it from? thanks in advance From Hibernate's download page, the JBoss Maven Repository is at https://repository.jboss.org/nexus/content/groups/public/ Your question is tagged with Maven-2, but if you're not using Maven to manage dependencies, you should be downloading the Hibernate Bundle from SourceForge. Anyway, Maven can download them from the Maven Central Repository. You can use these dependencies for hibernate 3.5.6, with annotations, without specifying any additional repository : You might want to use the Take a look at this possible duplicate question: How can I use Maven to get the latest Hibernate release? By the way, it seems that repository.jboss.org/maven2 is up. 这篇关于从哪里获得冬眠jars?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
<version>3.5.6-Final</version>
</dependency>
hibernate-core
artifact instead, and other non-transitive dependencies you're intereseted in.