> The "jar" file contains a html page from Amazon S3 Service,
> which is the host of the Maven repository (or should be).

This happens when you have pointed Maven at a repo which is not
properly configured. The repo should return a proper 404 status code
which Maven will report as a "bad repo" and blacklist it to avoid
pulling down bad content. In this case, the website is returning
something other than 404 (probably a 200 with "no file found" in the
html) so Maven assumes the content is the Jar it requested and saves
it as such. Yes, Maven should be a little bit smarter and check the
content before saving it (and this is on the list of things to fix
eventually) but the repo/webserver is not complying with the HTTP
specification in these cases.

Since you're talking to the Spring folks, please ask them to fix their
repo. It should not return http status 200 unless the http request was
actually successful!

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to