Hmm I might not have set up the task deps properly for the task that
generates that file. It should depend on the hibernate-osgi jar task. You
can try setting the deps or you can try running the task directly. It's
called something like generateKarafFeatures
On May 15, 2015 6:52 AM, "Sanne Grinovero" <sanne(a)hibernate.org> wrote:
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.
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev