简体   繁体   English

如何获取带有Hibernate源附件的jar?

[英]How to get a jar with source attachment for Hibernate?

We just upgraded our old Hibernate (3.*) to the newest release and after half an hour of searching I was not able to find a .jar file with source attachment of Hibernate 4.1.7. 我们刚刚将旧的Hibernate(3. *)升级到了最新版本,经过半小时的搜索,我找不到带有Hibernate 4.1.7源附件的.jar文件。 Do you have any ideas where can it be found? 您有什么想法可以在哪里找到? I tried sourceforge, Hibernate's official page and I checked out Github too. 我尝试了Hibernate的官方页面sourceforge,也检查了Github。 It will be also fine if you point me out some tutorials about building a jar file with source attachment. 如果您指出一些有关构建带有源附件的jar文件的教程,也可以。

How about here at the JBoss repository (which is sync'ed to central regularly)? 如何在这里在JBoss的库(这是定期sync'ed中央)?

As for building a source JAR, it really is dependent on your build methodology, but eg. 至于构建源JAR,它实际上取决于您的构建方法,但是例如。 using Maven it is supremely easy: 使用Maven非常简单:

mvn source:jar

Cheers, 干杯,

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM