NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Maven - stalling during dependency downloads.....

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
marcusadamski



Joined: 12 Jul 2010
Posts: 4

PostPosted: Thu Feb 03, 2011 1:58 pm    Post subject: Maven - stalling during dependency downloads..... Reply with quote

Hi all;

Netbeans / Maven has recently developed some very frustrating behaviour!

When opening a Maven project, Netbeans will scan the project and attempt to download all the project dependencies. However, this process has recently start to stall. A given dependency jar will start to download, but will then stall - and never recover.

Looking in the repository, I see the jar e.g. "utility.jar.tmpd3720580b976" - but the jar never completes the download. Hence the project doesn't open.

My only resolution is to close Netbeans, delete the locked file, and re-open Netbeans....wait until the next file locks....and repeat. (FYI - there is no other process downloading these files at the same time)

I assume Maven is performing the download (not Netbeans) - but I was wondering if anybody else has experienced this issue?

Many thanks for any advice,
Marc
Back to top
Adam Jurzyk
Posted via mailing list.





PostPosted: Fri Feb 04, 2011 3:52 pm    Post subject: Maven - stalling during dependency downloads..... Reply with quote

On Thu, Feb 3, 2011 at 2:58 PM, marcusadamski
<address-removed> wrote:
Quote:
Hi all;

Netbeans / Maven has recently developed some very frustrating behaviour!

When opening a Maven project, Netbeans will scan the project and attempt to download all the project dependencies. However, this process has recently start to stall. A given dependency jar will start to download, but will then stall - and never recover.

Looking in the repository, I see the jar e.g. "utility.jar.tmpd3720580b976" - but the jar never completes the download. Hence the project doesn't open.

My only resolution is to close Netbeans, delete the locked file, and re-open Netbeans....wait until the next file locks....and repeat. (FYI - there is no other process downloading these files at the same time)

I assume Maven is performing the download (not Netbeans) - but I was wondering if anybody else has experienced this issue?

Sometimes my Netbeans "hangs" on downloading sources or javadoc
(progress bar stops on some % and stays lake that until restart) but
never on downloading dependencies.

In your case I would suggest trying mvn install from system terminal
(without Netbeans) because perhaps there is something wrong with
dependency you trying to download.

Adam
Back to top
Todor Kostadinov
Posted via mailing list.





PostPosted: Fri Feb 04, 2011 4:47 pm    Post subject: Maven - stalling during dependency downloads..... Reply with quote

Hi Marc,

I have also developed some Maven projects with NetBeans recently. The download performance war excellent and I was quite satisfied with Maven + NetBeans behaviour.

Kind regards
Todor Kostadinov


-----Urspr
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo