开发者

where to get hibernate jars from?

开发者_如何学运维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 :

   <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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜