[hibernate-dev] Build time downloads of ORM itself during an ORM clean build?

Steve Ebersole steve at hibernate.org
Wed Sep 21 11:55:41 EDT 2016


Thanks! Great catch.  That was a bad setup, we will get it fixed.


On Wed, Sep 21, 2016 at 10:42 AM Jordan Gigov <coladict at gmail.com> wrote:

> I mean this dependency in "buildscript"
>
> https://github.com/hibernate/hibernate-orm/blob/master/documentation/documentation.gradle#L22
>
> 2016-09-21 17:59 GMT+03:00 Steve Ebersole <steve at hibernate.org>:
>
>> By "package buildscripts" do you mean the buildSrc module?  That should
>> not be the case.
>>
>> If not, what do yo mean by "package buildscripts"?
>>
>>
>>
>> On Wed, Sep 21, 2016 at 9:47 AM Jordan Gigov <coladict at gmail.com> wrote:
>>
>>> Well, the CI would generally have a local snapshot to use, instead of
>>> downloading it.
>>> The problem is that the package buildscripts depend on
>>> 'hibernate-gradle-plugin',but it depends on 'hibernate-core'.
>>>
>>> I just cleared my ~/.gradle/caches and ~/.m2/repository/org/hibernate/,
>>> switched to the '5.1' branch and it didn't download the core snapshot as
>>> it
>>> does in 'master'.
>>>
>>> As far as I can determine, this plugin enhances entity classes after
>>> they're built, which I suppose is meant to speed-up the tests slightly.
>>>
>>> 2016-09-21 12:50 GMT+03:00 Sanne Grinovero <sanne at hibernate.org>:
>>>
>>> > Hi all,
>>> >
>>> > I just happened to build Hibernate ORM's latest "master" on a clean
>>> > machine and this is how the build log looks like:
>>> >
>>> > No compatible daemons found:
>>> >   - an idle daemon with different JVM constraints can't run this build
>>> > Starting a new Gradle Daemon for this build: subsequent builds will be
>>> > faster
>>> > :buildSrc:clean UP-TO-DATE
>>> > :buildSrc:compileJava UP-TO-DATE
>>> > :buildSrc:compileGroovy
>>> > :buildSrc:processResources UP-TO-DATE
>>> > :buildSrc:classes
>>> > :buildSrc:jar
>>> > :buildSrc:assemble
>>> > :buildSrc:compileTestJava UP-TO-DATE
>>> > :buildSrc:compileTestGroovy UP-TO-DATE
>>> > :buildSrc:processTestResources UP-TO-DATE
>>> > :buildSrc:testClasses UP-TO-DATE
>>> > :buildSrc:test UP-TO-DATE
>>> > :buildSrc:check UP-TO-DATE
>>> > :buildSrc:build
>>> > Download http://repository.jboss.org/nexus/content/groups/public/
>>> > org/hibernate/hibernate-core/5.2.3-SNAPSHOT/hibernate-core-
>>> > 5.2.3-20160920.201550-53.jar
>>> > [...]
>>> >
>>> > I'm not having any specific failure, but it seems very suspicious that
>>> > the build is needing to download hibernate-core at the very beginning
>>> > of the build?
>>> >
>>> > I'm not familiar enough with ORM's build scripts to investigate myself
>>> > but I suspect some dependency order needs to be cleaned up, or you
>>> > might be including some side-effects from previous builds.
>>> >
>>> > Thanks,
>>> > Sanne
>>> > _______________________________________________
>>> > hibernate-dev mailing list
>>> > hibernate-dev at lists.jboss.org
>>> > https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>> >
>>> _______________________________________________
>>> hibernate-dev mailing list
>>> hibernate-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>>
>>
>


More information about the hibernate-dev mailing list