从源代码安装hibernate工件

时间:2013-12-19 16:17:21

标签: hibernate gradlew

我想将源自源的Hibernate maven工件安装到我的本地maven存储库中。

我从https://github.com/hibernate/hibernate-orm克隆了来源 他们使用./gradlew clean build建设得很好。

我试过了:

./gradlew clean install 

但是唯一安装的人工制品是:

hibernate-gradle-plugin-4.3.0-SNAPSHOT.jar
hibernate-maven-plugin-4.3.0-SNAPSHOT.jar 

这是./gradlew clean install --info |grep Installing

的输出
[INFO] Installing /home/rzymek/devel/github/hibernate-orm/tooling/hibernate-gradle-plugin/target/libs/hibernate-gradle-plugin-4.3.0-SNAPSHOT.jar
  to /home/rzymek/.m2/repository/org/hibernate/hibernate-gradle-plugin/4.3.0-SNAPSHOT/hibernate-gradle-plugin-4.3.0-SNAPSHOT.jar
[INFO] Installing /home/rzymek/devel/github/hibernate-orm/tooling/hibernate-maven-plugin/target/libs/hibernate-maven-plugin-4.3.0-SNAPSHOT.jar
  to /home/rzymek/.m2/repository/org/hibernate/hibernate-maven-plugin/4.3.0-SNAPSHOT/hibernate-maven-plugin-4.3.0-SNAPSHOT.jar

只做find /home/rzymek/.m2/repository/org/hibernate/ -name *4.3.0*jar yeld这两个文件。

问题是:如何安装hibernate-corehibernate-entitymanager工件?

1 个答案:

答案 0 :(得分:0)

找到它。答案是:

./gradlew publishToMavenLocal