[hibernate-dev] Unable to build local snapshots of ORM 5
sanne at hibernate.org
Fri May 15 08:19:38 EDT 2015
this works fine, as you suggested:
./gradlew clean generateKarafFeatures publishToMavenLocal
On 15 May 2015 at 13:18, Steve Ebersole <steve at hibernate.org> wrote:
> Oh that's right. This is something I wanted to look at changing in that
> karaf plugin I contribute to. Normally you define artifacts for publishing
> via the task that produces them; Gradle will then automatically add that
> task as a dep to the publishing related tasks. But Gradle expects the task
> to implement certain extra interfaces. So in the short term I just named
> the file. Anyway, for now setting up the task deps manually or running the
> task directly as I mentioned before should work.
> On Fri, May 15, 2015 at 7:12 AM, Steve Ebersole <steve at hibernate.org> wrote:
>> 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 at 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
>>> Failed to publish publication 'mavenJava' to repository 'MavenLocal'
>>> > Invalid publication 'mavenJava': artifact file does not exist:
>>> 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 at lists.jboss.org
More information about the hibernate-dev