Hi,

Le 02/08/2014 04:16, Peter Donald a écrit :
> Hi,
>
> On Thu, Jul 31, 2014 at 8:15 PM, Jean-Philippe Caruana
> <jp@> wrote:
>> Am I the only one to have this issue ?
> I guess I downloaded it a long time ago so it is probably locally
> cached. It seems that maven central has been moved to [1]? I can
> certainly download the dependency from [2] but I can also download it
> from [3].

But Travis can build it, and I guess it doesn't have a cache.

I added
repositories.remote << 'http://central.maven.org/maven2'

to buildr.buildfile but I still can't download it :

Compiling Java libraries ...
ruby1.9.1 /home/jp/src/open_source/buildr/_buildr --buildfile
buildr.buildfile compile
(in /home/jp/src/open_source/buildr, development)
Compiling buildr
Compiling buildr:scala into lib/buildr/scala
VScalaDoc not supported for Scala 2.8+
Downloading org.scala-lang:scala-reflect:jar:2.9.2
Buildr aborted!
RuntimeError : Failed to download
org.scala-lang:scala-reflect:jar:2.9.2, tried the following repositories:
http://oss.sonatype.org/content/repositories/releases/
https://oss.sonatype.org/content/groups/scala-tools/
http://repo1.maven.org/maven2/
http://central.maven.org/maven2/
https://oss.sonatype.org/content/groups/scala-tools/

(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [ruby1.9.1
/home/jp/src/open_source/buildr/...]
/home/jp/src/open_source/buildr/rakelib/package.rake:28:in `block in
<top (required)>'
Tasks: TOP => spec => compile
(See full trace by running task with --trace)


> Is there something local that is blocking your http access? A firewall
> or network level blocking?

not at all

> [1] http://central.maven.org/maven2
> [2] 
> http://central.maven.org/maven2/org/scala-lang/scala-library/2.9.2/scala-library-2.9.2.jar
> [3] 
> http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.9.2/scala-library-2.9.2.jar

These 2 links [2] and [3] work.
Do you suggest me to download it manually and put it in my local repo ?
I would prefer that the build works "out of the box" but I don't know
much about building buildr.
What makes TRavis behave differently from my dev box ?

cheers

-- 
Jean-Philippe Caruana 
http://www.barreverte.fr

Reply via email to