archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien CARSIQUE <>
Subject Re: maven-eclipse-plugin in online mode with downloadSources=true
Date Fri, 04 Jan 2008 17:04:58 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
Erratum :<br>
I configured archiva to remembers errors on remote repositories but how
can we do the same for local ones ?<br>
Julien CARSIQUE a &eacute;crit&nbsp;:
<blockquote cite="" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
We use archiva 1.0.<br>
I've checked the external repositories, they're ok. And I already
encountered this situation (external repository down) but it was
impacting mvn install too, not only mvn eclipse:eclipse.<br>
I recently thought about this possibility and so configured archiva to
remember errors. It was a week ago, and we still have the issue : I ran
an mvn eclipse:eclipse this afternoon and it was running for hours when
I stopped it. <br>
Arnaud HERITIER a &eacute;crit&nbsp;:
    <pre wrap="">With which version of archiva is it ?
With a version &lt; 1.0 (I didn't test with 1.0) I have a similar problem for 2
reasons :
- Some external repositories proxied by archiva were down and each time
archiva tried to download a missing artifact it waited the http timeout
(probably 1min) to try another external repo
- A lot of sources and javadocs aren't published and thus if you don't
configure archiva to keep in memory the errors, it will try to download them
every XX hours (depending of your settings).


On Dec 20, 2007 6:25 PM, Julien CARSIQUE <a moz-do-not-send="true"
 class="moz-txt-link-rfc2396E" href="">&lt;;</a>

    <blockquote type="cite">
      <pre wrap="">"mvn eclipse:clean eclipse:eclipse" has just finished

[INFO] Total time: 134 minutes 34 seconds
[INFO] Finished at: Thu Dec 20 18:14:35 CET 2007
[INFO] Final Memory: 66M/254M

134 minutes to download sources against 1min30 with

Why this crazy difference ?
It could be useful to download javadoc too but I fear having to wait for
3 more hours :-(

Any help would be appreciated, thanks

Julien CARSIQUE a &eacute;crit :
      <blockquote type="cite">
        <pre wrap="">Hi,

Does anyone use maven-eclipse:plugin, mvn eclipse:eclipse in online
mode with downloadSources=true ?

In offline, it takes about 1min30; online, with downloadSources=true,
it takes several hours (when it finishes, as archiva often freeze on
too long tasks) !

I have this configuration in the parent pom.xml :


If this can be a workaround, is it possible to store the sources'
status cache, outside the target dir ?
&lt;&lt; Enables/disables the downloading of source attachments. Defaults to
false. When this flag is |true| remote repositories are checked for
sources: in order to avoid repeated check for unavailable source
archives, a status cache is mantained into the target dir of the root
project. Run |mvn:clean| or delete the file
|| in order to reset this cache. &gt;&gt;

      <pre wrap="">    </pre>
    <pre wrap=""><!---->

  <pre class="moz-signature" cols="72">-- 
Julien CARSIQUE, Nuxeo (Paris, France)
Open Source Enterprise Content Management - <a moz-do-not-send="true"
 class="moz-txt-link-freetext" href=""></a>
Nuxeo EP 5: extensible, Java EE and standards based ECM Platform
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href=""></a> - Tel: +33 1 40 33 79 87

View raw message