where to get hibernate jars from?

半世苍凉 提交于 2020-01-03 05:46:31

问题


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


回答1:


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 :

   <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-annotations</artifactId>
        <version>3.5.6-Final</version>
    </dependency>

You might want to use the hibernate-core artifact instead, and other non-transitive dependencies you're intereseted in.

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.




回答2:


From Hibernate's site: ( http://in.relation.to/Bloggers/HibernateCore367FinalRelease )

I believe the URL of the repository should be http://repository.jboss.org/nexus/content/groups/public-jboss/ instead of http://repository.jboss.org/maven2



来源:https://stackoverflow.com/questions/7672352/where-to-get-hibernate-jars-from

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!