[hibernate-dev] Unable to build local snapshots of ORM 5

Sanne Grinovero sanne at hibernate.org
Fri May 15 07:51:51 EDT 2015


I need to build local snapshots of ORM to test things with Hibernate
Search, but invoking "publishToMavenLocal" produces an error on the
OSGi module:

FAILURE: Build failed with an exception.
 * What went wrong:
Execution failed for task
':hibernate-osgi:publishMavenJavaPublicationToMavenLocal'.
Failed to publish publication 'mavenJava' to repository 'MavenLocal'
    > Invalid publication 'mavenJava': artifact file does not exist:
'/home/sanne/workspaces/hibernate/hibernate-core-parent/hibernate-osgi/target/karafFeatures/hibernate-osgi-5.0.0-SNAPSHOT-karaf.xml'

All I know is that indeed that file isn't there.

I tried to workaround the problem by deploying a snapshot to Nexus,
but that failed with a similar error.


More information about the hibernate-dev mailing list