2013-12-19 137 views
0

我想從源代碼安裝Hibernate maven構件到我的本地maven倉庫中。從源代碼安裝hibernate構件

我已經從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-core,hibernate-entitymanager文物?

回答

0

找到它。答案是:

./gradlew publishToMavenLocal