[hibernate-dev] byteman
Hardy Ferentschik
hardy at hibernate.org
Thu Mar 22 06:08:49 EDT 2012
Hi,
> The jar seems to be correctly uploaded:
> https://repository.jboss.org/nexus/content/groups/public-jboss/org/infinispan/infinispan-core/5.1.2.FINAL/
>
> But I get your same error when running tests:
>
> * What went wrong:
> Could not resolve all dependencies for configuration
> ':hibernate-infinispan:testCompile'.
>> Artifact 'org.infinispan:infinispan-core:5.1.2.FINAL:tests at jar' not found.
>
> This is what I see with --debug:
>
> 09:40:38.664 [DEBUG]
> [org.gradle.api.internal.artifacts.repositories.ResourceCollectionResolver]
> Loading /home/sanne/.m2/repository/org/infinispan/infinispan-core/5.1.2.FINAL/infinispan-core-5.1.2.FINAL-tests.jar
> 09:40:38.665 [DEBUG]
> [org.gradle.api.internal.artifacts.repositories.ResourceCollectionResolver]
> Resource not reachable for org/infinispan#infinispan-core;5.1.2.FINAL:
> res=/home/sanne/.m2/repository/org/infinispan/infinispan-core/5.1.2.FINAL/infinispan-core-5.1.2.FINAL-tests.jar
>
> Indeed, that file is not there. The normal jar (not _test_) is there
> already, in this case gradle is not attempting to download the
> -tests.jar
>
> Deleting the whole artifact directory:
> /.m2/repository/org/infinispan/infinispan-core/5.1.2.FINAL/i
>
> got gradle to download the tests artifact as well, and fixed the problem for me.
Same here. Deleting the 5.1.2.FINAL directory from the local repo and rebuilding fixed the problem.
thanks,
Hardy
More information about the hibernate-dev
mailing list