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 Thu, 20 Dec 2007 17:25:19 GMT
"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 écrit :
> 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 :
>
>      <plugin>
>        <groupId>org.apache.maven.plugins</groupId>
>        <artifactId>maven-eclipse-plugin</artifactId>
>        <version>2.4</version>
>        <configuration>
>          <downloadSources>true</downloadSources>
>        </configuration>
>      </plugin>
>
>
> If this can be a workaround, is it possible to store the sources' 
> status cache, outside the target dir ?
> << 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. >>
>


Mime
View raw message