I could write a custom script that runs during install to print out various stuff about the environment. See https://github.com/google/guice/blob/master/generate-latest-docs.sh for an example script that runs after successful builds. Where would the settings.xml live?
sam On Fri, Jul 11, 2014 at 1:26 PM, Stuart McCulloch <[email protected]> wrote: > Note that https://repository.apache.org is the Apache Foundation staging > repository for Apache projects, not Central (http://repo.maven.apache.org) > and is on a single box without a CDN. > > It’s odd to see it in the logs because Maven is not configured to use that > repository by default, which makes me think that the Travis config is > using a custom settings.xml with additional repositories - and that custom > settings.xml has an non-optimal ordering of the repositories in that it’s > querying https://repository.apache.org before querying Central. Is there > a way we can find out what settings.xml Travis uses and if there’s a way to > choose a different one? > > PS. I just tried "mvn dependency:go-offline test clean --fail-never > -DskipTests=true" locally with an empty repository and the default > settings.xml that ships with Maven and it never queries > https://repository.apache.org > > On 11 Jul 2014, at 17:54, Sam Berlin <[email protected]> wrote: > > 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 > <https://groups.google.com/d/msgid/google-guice/CAJEBNUf12p5J0x1Wn0YFuVgcMPcrP0HcQ6Uevo3ZPTMY9TjdAQ%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/AC6EA1B2-A7C5-4348-9492-8EABD627EEBC%40gmail.com > <https://groups.google.com/d/msgid/google-guice/AC6EA1B2-A7C5-4348-9492-8EABD627EEBC%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/CAJEBNUfYv-q3ZKbZHMxfdWZsxECcEEPjCmU70Y%2BC0By96mbitQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
