[hibernate-dev] ORM and animal sniffer

Gunnar Morling gunnar at hibernate.org
Wed May 8 06:21:03 EDT 2013


Hi Hardy,

I can't reproduce this issue. I removed anything named animal-sniffer* from
my local Gradle artifact cache (file store and module meta-data), and when
doing an ORM build it downloads the expected things (i.e., the POM for the
parent module):

    ...
    hibernate-c3p0:checkJavaApiSignature
    Download
http://repo1.maven.org/maven2/org/codehaus/mojo/animal-sniffer-ant-tasks/1.8/animal-sniffer-ant-tasks-1.8.pom
    Download
http://repo1.maven.org/maven2/org/codehaus/mojo/animal-sniffer-parent/1.8/animal-sniffer-parent-1.8.pom
    Download
http://repo1.maven.org/maven2/org/codehaus/mojo/animal-sniffer/1.8/animal-sniffer-1.8.pom
    Download
http://repo1.maven.org/maven2/org/codehaus/mojo/animal-sniffer-ant-tasks/1.8/animal-sniffer-ant-tasks-1.8.jar
    Download
http://repo1.maven.org/maven2/org/codehaus/mojo/animal-sniffer/1.8/animal-sniffer-1.8.jar
    ...

It also works on the CI server, the job for with the change is at [1].

Maybe you try to remove the artifacts from your local cache as well?

--Gunnar

[1] http://ci.hibernate.org/job/hibernate-orm-master-h2/34/console




2013/5/8 Gunnar Morling <gunnar at hibernate.org>

> Hmm, that's odd. So far this didn't occur on my machine. I'll try to
> reproduce it.
>
> --Gunnar
>
>
>
> 2013/5/8 Hardy Ferentschik <hardy at hibernate.org>
>
>> Hi,
>>
>> it seems the animal sniffer plugin made it now into the ORM build.
>> Unfortunately, I am seeing this when trying a 'gradlew clean build':
>>
>> FAILURE: Build failed with an exception.
>>
>> * Where:
>> Build file '/Users/hardy/work/hibernate/git/core/orm-4.0/build.gradle'
>> line: 329
>>
>> * What went wrong:
>> Execution failed for task ':hibernate-c3p0:checkJavaApiSignature'.
>> > Could not resolve all dependencies for configuration
>> ':hibernate-c3p0:animalSniffer'.
>>    > Could not resolve org.codehaus.mojo:animal-sniffer-ant-tasks:1.8.
>>      Required by:
>>          org.hibernate:hibernate-c3p0:4.3.0-SNAPSHOT
>>       > Could not resolve org.codehaus.mojo:animal-sniffer-parent:1.8.
>>          > Could not HEAD '
>> http://repo1.maven.org/maven2/org/codehaus/mojo/animal-sniffer-parent/1.8/animal-sniffer-parent-1.8.jar
>> '.
>>             > Connection reset
>>
>> Anything I need to do to get this to work? AFAICS there is no jar in
>> http://repo1.maven.org/maven2/org/codehaus/mojo/animal-sniffer-parent/1.8
>> ,
>> so I am not sure why the build tries to download one.
>>
>> --Hardy
>> _______________________________________________
>> 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