You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@gora.apache.org by Nishant Shah <ni...@gmail.com> on 2013/06/11 20:14:49 UTC
Build failure using maven
Hi Everyone,
I tried running the 'mvn clean -e compile' but my build failed
The error message is
Failed to execute goal on project gora-hbase: Could not resolve
dependencies for project org.apache.gora:gora-hbase:bundle:0.3: Could not
transfer artifact org.jruby:jruby-complete:jar:1.6.0 from/to central (
http://repo.maven.apache.org/maven2): GET request of:
org/jruby/jruby-complete/1.6.0/jruby-complete-1.6.0.jar from central
failed: Read timed out.
The JRuby download stops at 12833/13000 KB everytime. When I access the
repo link directly, I can download the jar but I don't know how to add so
maven doesn't try to download it.
This has happened many times. So any help would be great.
Thanks.
Nishant
Re: Build failure using maven
Posted by Lewis John Mcgibbney <le...@gmail.com>.
Please see the exclusion attached to the Avro dependency for a guide
http://svn.apache.org/repos/asf/gora/trunk/pom.xml
You still need to find exactly where the dependency is being pulled or
inherited from. Right now I honestly don't know. There will most likely be
Maven plugin for that kind of thing. If you find out please let us know.
Is anyone else getting this?
On Tuesday, June 11, 2013, Nishant Shah <ni...@gmail.com> wrote:
> Hi,
>
> I have tried the above mentioned command but I get the same error. The
strange thing is it always stops at 12833 KB. I am trying to find a way to
exclude the jar. If you have any tips for that, do write in.
> Thanks.
>
>
> On Tue, Jun 11, 2013 at 2:21 PM, Renato Marroquín Mogrovejo <
renatoj.marroquin@gmail.com> wrote:
>>
>> He means if you had run "mvn install" and then "mvn package".
>> Maybe you'd like to try running mvn clean install compile
>>
>> 2013/6/11 Nishant Shah <ni...@gmail.com>
>>>
>>> What do you mean by package or install targets work ? Maven for other
projects work properly. I am sorry, I am new to maven.
>>>
>>>
>>> On Tue, Jun 11, 2013 at 1:31 PM, Lewis John Mcgibbney <
lewis.mcgibbney@gmail.com> wrote:
>>>>
>>>> Do package or install maven targets work?
>>>>
>>>> On Tuesday, June 11, 2013, Lewis John Mcgibbney <
lewis.mcgibbney@gmail.com> wrote:
>>>> > Hi Nishant,
>>>> > * Possibly transient error with maven central.
>>>> > * Try an exclude within the gora parent and hbase pom.xml. This will
skip down load of the file. You will however need to find out the source
direct dependency which pulls in the offending library
>>>> > hth
>>>> > Lewis
>>>> >
>>>> > On Tuesday, June 11, 2013, Nishant Shah <ni...@gmail.com>
wrote:
>>>> >>
>>>> >> Hi Everyone,
>>>> >>
>>>> >> I tried running the 'mvn clean -e compile' but my build failed
>>>> >> The error message is
>>>> >>
>>>> >> Failed to execute goal on project gora-hbase: Could not resolve
dependencies for project org.apache.gora:gora-hbase:bundle:0.3: Could not
transfer artifact org.jruby:jruby-complete:jar:1.6.0 from/to central (
http://repo.maven.apache.org/maven2): GET request of:
org/jruby/jruby-complete/1.6.0/jruby-complete-1.6.0.jar from central
failed: Read timed out.
>>>> >>
>>>> >> The JRuby download stops at 12833/13000 KB everytime. When I access
the repo link directly, I can download the jar but I don't know how to add
so maven doesn't try to download it.
>>>> >>
>>>> >> This has happened many times. So any help would be great.
>>>> >>
>>>> >> Thanks.
>>>> >>
>>>> >> Nishant
>>>> >>
>>>> >
>>>> > --
>>>> > Lewis
>>>> >
>>>> >
>>>>
>>>> --
>>>> Lewis
>>>>
>>>
>>
>
>
--
*Lewis*
Re: Build failure using maven
Posted by Nishant Shah <ni...@gmail.com>.
Hi,
I have tried the above mentioned command but I get the same error. The
strange thing is it always stops at 12833 KB. I am trying to find a way to
exclude the jar. If you have any tips for that, do write in.
Thanks.
On Tue, Jun 11, 2013 at 2:21 PM, Renato Marroquín Mogrovejo <
renatoj.marroquin@gmail.com> wrote:
> He means if you had run "mvn install" and then "mvn package".
> Maybe you'd like to try running mvn clean install compile
>
>
> 2013/6/11 Nishant Shah <ni...@gmail.com>
>
>> What do you mean by package or install targets work ? Maven for other
>> projects work properly. I am sorry, I am new to maven.
>>
>>
>> On Tue, Jun 11, 2013 at 1:31 PM, Lewis John Mcgibbney <
>> lewis.mcgibbney@gmail.com> wrote:
>>
>>> Do package or install maven targets work?
>>>
>>>
>>> On Tuesday, June 11, 2013, Lewis John Mcgibbney <
>>> lewis.mcgibbney@gmail.com> wrote:
>>> > Hi Nishant,
>>> > * Possibly transient error with maven central.
>>> > * Try an exclude within the gora parent and hbase pom.xml. This will
>>> skip down load of the file. You will however need to find out the source
>>> direct dependency which pulls in the offending library
>>> > hth
>>> > Lewis
>>> >
>>> > On Tuesday, June 11, 2013, Nishant Shah <ni...@gmail.com>
>>> wrote:
>>> >>
>>> >> Hi Everyone,
>>> >>
>>> >> I tried running the 'mvn clean -e compile' but my build failed
>>> >> The error message is
>>> >>
>>> >> Failed to execute goal on project gora-hbase: Could not resolve
>>> dependencies for project org.apache.gora:gora-hbase:bundle:0.3: Could not
>>> transfer artifact org.jruby:jruby-complete:jar:1.6.0 from/to central (
>>> http://repo.maven.apache.org/maven2): GET request of:
>>> org/jruby/jruby-complete/1.6.0/jruby-complete-1.6.0.jar from central
>>> failed: Read timed out.
>>> >>
>>> >> The JRuby download stops at 12833/13000 KB everytime. When I access
>>> the repo link directly, I can download the jar but I don't know how to add
>>> so maven doesn't try to download it.
>>> >>
>>> >> This has happened many times. So any help would be great.
>>> >>
>>> >> Thanks.
>>> >>
>>> >> Nishant
>>> >>
>>> >
>>> > --
>>> > Lewis
>>> >
>>> >
>>>
>>> --
>>> *Lewis*
>>>
>>>
>>
>
Re: Build failure using maven
Posted by Renato Marroquín Mogrovejo <re...@gmail.com>.
He means if you had run "mvn install" and then "mvn package".
Maybe you'd like to try running mvn clean install compile
2013/6/11 Nishant Shah <ni...@gmail.com>
> What do you mean by package or install targets work ? Maven for other
> projects work properly. I am sorry, I am new to maven.
>
>
> On Tue, Jun 11, 2013 at 1:31 PM, Lewis John Mcgibbney <
> lewis.mcgibbney@gmail.com> wrote:
>
>> Do package or install maven targets work?
>>
>>
>> On Tuesday, June 11, 2013, Lewis John Mcgibbney <
>> lewis.mcgibbney@gmail.com> wrote:
>> > Hi Nishant,
>> > * Possibly transient error with maven central.
>> > * Try an exclude within the gora parent and hbase pom.xml. This will
>> skip down load of the file. You will however need to find out the source
>> direct dependency which pulls in the offending library
>> > hth
>> > Lewis
>> >
>> > On Tuesday, June 11, 2013, Nishant Shah <ni...@gmail.com>
>> wrote:
>> >>
>> >> Hi Everyone,
>> >>
>> >> I tried running the 'mvn clean -e compile' but my build failed
>> >> The error message is
>> >>
>> >> Failed to execute goal on project gora-hbase: Could not resolve
>> dependencies for project org.apache.gora:gora-hbase:bundle:0.3: Could not
>> transfer artifact org.jruby:jruby-complete:jar:1.6.0 from/to central (
>> http://repo.maven.apache.org/maven2): GET request of:
>> org/jruby/jruby-complete/1.6.0/jruby-complete-1.6.0.jar from central
>> failed: Read timed out.
>> >>
>> >> The JRuby download stops at 12833/13000 KB everytime. When I access
>> the repo link directly, I can download the jar but I don't know how to add
>> so maven doesn't try to download it.
>> >>
>> >> This has happened many times. So any help would be great.
>> >>
>> >> Thanks.
>> >>
>> >> Nishant
>> >>
>> >
>> > --
>> > Lewis
>> >
>> >
>>
>> --
>> *Lewis*
>>
>>
>
Re: Build failure using maven
Posted by Nishant Shah <ni...@gmail.com>.
What do you mean by package or install targets work ? Maven for other
projects work properly. I am sorry, I am new to maven.
On Tue, Jun 11, 2013 at 1:31 PM, Lewis John Mcgibbney <
lewis.mcgibbney@gmail.com> wrote:
> Do package or install maven targets work?
>
>
> On Tuesday, June 11, 2013, Lewis John Mcgibbney <le...@gmail.com>
> wrote:
> > Hi Nishant,
> > * Possibly transient error with maven central.
> > * Try an exclude within the gora parent and hbase pom.xml. This will
> skip down load of the file. You will however need to find out the source
> direct dependency which pulls in the offending library
> > hth
> > Lewis
> >
> > On Tuesday, June 11, 2013, Nishant Shah <ni...@gmail.com> wrote:
> >>
> >> Hi Everyone,
> >>
> >> I tried running the 'mvn clean -e compile' but my build failed
> >> The error message is
> >>
> >> Failed to execute goal on project gora-hbase: Could not resolve
> dependencies for project org.apache.gora:gora-hbase:bundle:0.3: Could not
> transfer artifact org.jruby:jruby-complete:jar:1.6.0 from/to central (
> http://repo.maven.apache.org/maven2): GET request of:
> org/jruby/jruby-complete/1.6.0/jruby-complete-1.6.0.jar from central
> failed: Read timed out.
> >>
> >> The JRuby download stops at 12833/13000 KB everytime. When I access the
> repo link directly, I can download the jar but I don't know how to add so
> maven doesn't try to download it.
> >>
> >> This has happened many times. So any help would be great.
> >>
> >> Thanks.
> >>
> >> Nishant
> >>
> >
> > --
> > Lewis
> >
> >
>
> --
> *Lewis*
>
>
Re: Build failure using maven
Posted by Lewis John Mcgibbney <le...@gmail.com>.
Do package or install maven targets work?
On Tuesday, June 11, 2013, Lewis John Mcgibbney <le...@gmail.com>
wrote:
> Hi Nishant,
> * Possibly transient error with maven central.
> * Try an exclude within the gora parent and hbase pom.xml. This will skip
down load of the file. You will however need to find out the source direct
dependency which pulls in the offending library
> hth
> Lewis
>
> On Tuesday, June 11, 2013, Nishant Shah <ni...@gmail.com> wrote:
>>
>> Hi Everyone,
>>
>> I tried running the 'mvn clean -e compile' but my build failed
>> The error message is
>>
>> Failed to execute goal on project gora-hbase: Could not resolve
dependencies for project org.apache.gora:gora-hbase:bundle:0.3: Could not
transfer artifact org.jruby:jruby-complete:jar:1.6.0 from/to central (
http://repo.maven.apache.org/maven2): GET request of:
org/jruby/jruby-complete/1.6.0/jruby-complete-1.6.0.jar from central
failed: Read timed out.
>>
>> The JRuby download stops at 12833/13000 KB everytime. When I access the
repo link directly, I can download the jar but I don't know how to add so
maven doesn't try to download it.
>>
>> This has happened many times. So any help would be great.
>>
>> Thanks.
>>
>> Nishant
>>
>
> --
> Lewis
>
>
--
*Lewis*
Re: Build failure using maven
Posted by Lewis John Mcgibbney <le...@gmail.com>.
Hi Nishant,
* Possibly transient error with maven central.
* Try an exclude within the gora parent and hbase pom.xml. This will skip
down load of the file. You will however need to find out the source direct
dependency which pulls in the offending library
hth
Lewis
On Tuesday, June 11, 2013, Nishant Shah <ni...@gmail.com> wrote:
>
> Hi Everyone,
>
> I tried running the 'mvn clean -e compile' but my build failed
> The error message is
>
> Failed to execute goal on project gora-hbase: Could not resolve
dependencies for project org.apache.gora:gora-hbase:bundle:0.3: Could not
transfer artifact org.jruby:jruby-complete:jar:1.6.0 from/to central (
http://repo.maven.apache.org/maven2): GET request of:
org/jruby/jruby-complete/1.6.0/jruby-complete-1.6.0.jar from central
failed: Read timed out.
>
> The JRuby download stops at 12833/13000 KB everytime. When I access the
repo link directly, I can download the jar but I don't know how to add so
maven doesn't try to download it.
>
> This has happened many times. So any help would be great.
>
> Thanks.
>
> Nishant
>
--
*Lewis*