The jar seems to be correctly uploaded:
https://repository.jboss.org/nexus/content/groups/public-jboss/org/infini...
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@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