我想将源自源的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-core
,hibernate-entitymanager
工件?
答案 0 :(得分:0)
找到它。答案是:
./gradlew publishToMavenLocal