Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Duplicate
-
Affects Version/s: 0.0.11
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:V0.0.11 built from latest source.
-
Number of attachments :
Description
when I add a new dependency to the pom which is not currently in my local repository, the plugin will drop into a loop issuing error messages. Sample from log:
....
3/05/07 11:17:35: Downloading Repositorycentral/jboss/jboss-j2ee/4.0.2/jboss-j2ee-4.0.2.jar.sha1
3/05/07 11:17:35: Downloading Repositorycentral/jboss/jboss-j2ee/4.0.2/jboss-j2ee-4.0.2.jar.sha1
3/05/07 11:17:35: Downloading Repositorycentral/jboss/jboss-j2ee/4.0.2/jboss-j2ee-4.0.2.jar.sha1
3/05/07 11:17:35: Downloaded Repositorycentral/jboss/jboss-j2ee/4.0.2/jboss-j2ee-4.0.2.jar.sha1
3/05/07 11:17:36: Unable to index jboss/jboss-j2ee/4.0.2/jboss-j2ee-4.0.2.jar.sha1; Lock obtain timed out: Lock@C:\DOCUME~1\CLARKS~1\LOCALS~1\Temp\lucene-92d5fc440e7c0ff376b065a24d717224-write.lock
3/05/07 11:17:36: Downloaded Repositorycentral/jboss/jboss-j2ee/4.0.2/jboss-j2ee-4.0.2.jar.sha1
3/05/07 11:17:37: Unable to index jboss/jboss-j2ee/4.0.2/jboss-j2ee-4.0.2.jar.sha1; Lock obtain timed out: Lock@C:\DOCUME~1\CLARKS~1\LOCALS~1\Temp\lucene-92d5fc440e7c0ff376b065a24d717224-write.lock
3/05/07 11:17:37: Downloaded Repositorycentral/jboss/jboss-j2ee/4.0.2/jboss-j2ee-4.0.2.jar.sha1
3/05/07 11:17:38: Unable to index jboss/jboss-j2ee/4.0.2/jboss-j2ee-4.0.2.jar.sha1; Lock obtain timed out: Lock@C:\DOCUME~1\CLARKS~1\LOCALS~1\Temp\lucene-92d5fc440e7c0ff376b065a24d717224-write.lock
3/05/07 11:17:38: Downloaded Repositorycentral/jboss/jboss-j2ee/4.0.2/jboss-j2ee-4.0.2.jar.sha1
3/05/07 11:17:39: Unable to index jboss/jboss-j2ee/4.0.2/jboss-j2ee-4.0.2.jar.sha1; Lock obtain timed out: Lock@C:\DOCUME~1\CLARKS~1\LOCALS~1\Temp\lucene-92d5fc440e7c0ff376b065a24d717224-write.lock
3/05/07 11:17:39: Downloaded Repositorycentral/jboss/jboss-j2ee/4.0.2/jboss-j2ee-4.0.2.jar.sha1
3/05/07 11:17:40: Unable to index jboss/jboss-j2ee/4.0.2/jboss-j2ee-4.0.2.jar.sha1; Lock obtain timed out: Lock@C:\DOCUME~1\CLARKS~1\LOCALS~1\Temp\lucene-92d5fc440e7c0ff376b065a24d717224-write.lock
3/05/07 11:17:40: Downloaded Repositorycentral/jboss/jboss-j2ee/4.0.2/jboss-j2ee-4.0.2.jar.sha1
....
It does eventually resolve and download the files, but it takes an enormous amount of time. I've watched it take up to 5 minutes just to resolve a single sha1 file, and it's not unusual for a new dependency to trigger a 20 or 30 minute wait.
Issue Links
| This issue duplicates: | ||||
| MNGECLIPSE-302 | Plugin tries to download dependencies N times |
|
|
|
Please provide project that will be sufficient to reproduce this issue. Also see http://docs.codehaus.org/display/M2ECLIPSE/How+To+Report+Issues
Thanks.