archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien CARSIQUE <jcarsi...@nuxeo.com>
Subject Re: maven-eclipse-plugin in online mode with downloadSources=true
Date Fri, 04 Jan 2008 16:44:05 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
We use archiva 1.0.<br>
<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>
<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>
<br>
Arnaud HERITIER a &eacute;crit&nbsp;:
<blockquote
 cite="mid:262c6c680712280819v763169f9y21ce4276106f15e8@mail.gmail.com"
 type="cite">
  <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).

Arnaud

On Dec 20, 2007 6:25 PM, Julien CARSIQUE <a class="moz-txt-link-rfc2396E" href="mailto:jcarsique@nuxeo.com">&lt;jcarsique@nuxeo.com&gt;</a>
wrote:

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

[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[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
"-DdownloadSources=false"

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

Julien CARSIQUE a &eacute;crit :
    </pre>
    <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 :

     &lt;plugin&gt;
       &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
       &lt;artifactId&gt;maven-eclipse-plugin&lt;/artifactId&gt;
       &lt;version&gt;2.4&lt;/version&gt;
       &lt;configuration&gt;
         &lt;downloadSources&gt;true&lt;/downloadSources&gt;
       &lt;/configuration&gt;
     &lt;/plugin&gt;


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
|mvn-eclipse-cache.properties| in order to reset this cache. &gt;&gt;

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

  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Julien CARSIQUE, Nuxeo (Paris, France)
Open Source Enterprise Content Management - <a class="moz-txt-link-freetext" href="http://www.nuxeo.org/">http://www.nuxeo.org/</a>
Nuxeo EP 5: extensible, Java EE and standards based ECM Platform
<a class="moz-txt-link-freetext" href="http://www.nuxeo.com/">http://www.nuxeo.com/</a>
- Tel: +33 1 40 33 79 87
</pre>
</body>
</html>

Mime
View raw message