[hibernate-dev] Building snapshots of Hibernate ORM / master

Sanne Grinovero sanne at hibernate.org
Sun Jul 5 15:43:35 EDT 2015


Hi all,
I'm trying to build Hibernate ORM's latest to try debugging some of
the latest changes for Wildfly and Search integrations.

The README mentions I should be able to

 ./gradlew clean publishToMavenLocal

but that fails on the hibernate-osgi module. I then tried "publish" to
upload a snapshot, but that prouces the same error message:

:hibernate-osgi:publishMavenJavaPublicationToJboss-snapshots-repositoryRepository
FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task
':hibernate-osgi:publishMavenJavaPublicationToJboss-snapshots-repositoryRepository'.
> Failed to publish publication 'mavenJava' to repository 'jboss-snapshots-repository'
   > Invalid publication 'mavenJava': artifact file does not exist:
'/home/sanne/workspaces/hibernate/hibernate-core-parent/hibernate-osgi/target/karafFeatures/hibernate-osgi-5.0.1-SNAPSHOT-karaf.xml'

On the version, I was expecting it to build some "5.0.0-SHAPSHOT" but
it's actually building a "5.0.1-SNAPSHOT",  is that expected?

I was hoping I could ignore the osgi module and take what it built to
experiment with Scott's branch, but while on HHH-9887 he mentions
being down to two failures, I'm having still dozens of failures so I
suspect I'll need some advice on the build.

Scott, could you share which exact commit id did you use to test
Hibernate ORM on your branch "hibernate5_july2", and how I can build
it like yours ?

Thanks,
Sanne


More information about the hibernate-dev mailing list