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

2015-05-15 Thread Sanne Grinovero
thanks Steve, this works fine, as you suggested: ./gradlew clean generateKarafFeatures publishToMavenLocal -DJAVA6_HOME=/opt/jdk-6/ On 15 May 2015 at 13:18, Steve Ebersole wrote: > Oh that's right. This is something I wanted to look at changing in that > karaf plugin I contribute to. Normally

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

2015-05-15 Thread Steve Ebersole
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 t

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

2015-05-15 Thread Steve Ebersole
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 Grino