Vittorio Ballestra
Vittorio Ballestra

Reputation: 419

Artifactory not resolving local snapshots

I'm trying to resolve SNAPSHOTS artifacts deployed on the local repository (libs-snapshots-local) but I'm having an unexpected behavior :

Does anyone know how to fix this ? Is this happening to anyone ?

UPDATE:

If I try to resolve the artifact using the libs-snapshots-local the download will succeeed but if I try with the virtual repository repo it will not work:

But the virtual repository repo should contains all the other repository by default (and I don't know if it is even possible to change this behavior).

Upvotes: 1

Views: 484

Answers (1)

Dror Bereznitsky
Dror Bereznitsky

Reputation: 20386

The root cause of this issue is related to a redirect performed by a remote Maven repository - http://mirrors.ibiblio.org/pub/mirrors/maven2.
In some cases this redirect will cause Artifactory to assume it got a proper response from the remote repository while actually it is not the expected type of response (getting an HTML document with the repository listing instead of an artifact content).
For more details see the answer to this question

Upvotes: 1

Related Questions