I think that the problem is caused by downtime at Github. My project depends on Github-hosted projects such as Deadbolt, and so I have added corresponding repositories to my Build.scala file
resolvers += Resolver.url("Objectify Play Repository (release)", url("http://schaloner.github.com/releases/"))(Resolver.ivyStylePatterns),
resolvers += Resolver.url("Objectify Play Repository (snapshot)", url("http://schaloner.github.com/snapshots/"))(Resolver.ivyStylePatterns)
What I've noticed is that Play attemps to resolve my other dependencies through this repository. For example, I have seen timeout failures to resolve apache.commons-io
and htmlunit
and it's transitive dependencies in the Deadbolt's github-hosted repository. In normal case such attempts would fail quickly. But when Github is slow it takes very long time to get failure response.
There should be a way to specify more precisely which repository to use for each dependency, but I'm not sure how to do that with SBT or Maven.
UPDATE
The problem has not been resolved. Here is an example of timeout error, this time on Typesafe repository
[error] Server access Error: Connection timed out: connect url=http://repo.types
afe.com/typesafe/releases/org/apache/commons/commons-email/1.2/commons-email-1.2
.jar
UPDATE 2
A very similar issue has been seen before:
https://groups.google.com/forum/#!msg/play-framework/cBIkLb_WPN8/uuJIdhdtvtEJ