We're using: *mvn dependency:go-offline test clean --fail-never -DskipTests=true* ... but, I experienced the same thing when testing with just '*mvn install*' on Travis.
There's nothing else special that I know of. Maybe the $HOME on Travis jobs has some special configuration parameters that tell it to not use central? Googling doesn't turn up anything that seems related, short of an issue to cache maven artifacts <https://github.com/travis-ci/travis-ci/issues/1441> to avoid the download time. When I try to do an mvn install or dependency:go-offline locally, it downloads from repo.maven.apache.org. sam On Fri, Jul 11, 2014 at 11:35 AM, Stuart McCulloch <[email protected]> wrote: > On 11 Jul 2014, at 14:24, Sam Berlin <[email protected]> wrote: > > Hi All, > > We've setup Travis for continuous integration for Guice. There were a few > flaky tests (that for some reason weren't flaking for us internally), but > I've cut those down to now just a single flake that I need to spend some > more time with. > > One remaining issue is that Maven on Travis seems to occasionally stall > while downloading dependencies, and Travis times out after 10 minutes of > "no output". Here's some examples: link1 > <https://s3.amazonaws.com/archive.travis-ci.org/jobs/29653484/log.txt>, > link2 > <https://s3.amazonaws.com/archive.travis-ci.org/jobs/29653490/log.txt>. > > Is anyone familiar with this? Any idea if we can do anything to fix it? > > > It looks odd that it’s querying https://repository.apache.org when Guice > should be able to build against just Central (which is backed by a CDN) - > does the travis configuration use a different profile or maven settings > file? > > I think we're just about set on GitHub now. I've cleaned up all the > various links to codesite so everything points to GitHub now, and > redirected the codesite page as much as possible to GitHub. (I don't want > to use the "move project" admin settings, because we still need it alive to > link back to binary issue attachments that GitHub can't host.) > > Thanks! > > sam > > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-guice. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-guice/CAJEBNUeQi9cV7JpN3NrOMmyBTf54%2B4nZwb0xAeA6qo0%3D-dRHvA%40mail.gmail.com > <https://groups.google.com/d/msgid/google-guice/CAJEBNUeQi9cV7JpN3NrOMmyBTf54%2B4nZwb0xAeA6qo0%3D-dRHvA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-guice. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-guice/BF11198C-AA05-4A3C-AD47-4ECE2994F091%40gmail.com > <https://groups.google.com/d/msgid/google-guice/BF11198C-AA05-4A3C-AD47-4ECE2994F091%40gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-guice. To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/CAJEBNUf12p5J0x1Wn0YFuVgcMPcrP0HcQ6Uevo3ZPTMY9TjdAQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
