You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Barrie Treloar (JIRA)" <ji...@codehaus.org> on 2008/11/28 02:47:19 UTC

[jira] Closed: (MECLIPSE-377) eclipse:eclipse -DdownloadSources=true shouldn't attempt download more than once in a multi-project

     [ http://jira.codehaus.org/browse/MECLIPSE-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Barrie Treloar closed MECLIPSE-377.
-----------------------------------

    Resolution: Fixed

Cache file now located at ~/.m2/maven-eclipse-plugin-cache.properties
Updated javadoc for downloadSources and downloadJavadocs to reference ~/.m2 and maven-eclipse-plugin-cache.properties

The side effect of this change is that simultaneous invocation of mvn eclipse:eclipse (say in different directories) can corrupt the cache file.

The chance that someone does this is low.
The worst that happens is that they have to delete the cache file.
Having ACID properties on the cache file was too much work for little benefit.


> eclipse:eclipse -DdownloadSources=true shouldn't attempt download more than once in a multi-project
> ---------------------------------------------------------------------------------------------------
>
>                 Key: MECLIPSE-377
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-377
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : Dependencies resolution and build path (.classpath), Core : Multi-projects
>    Affects Versions: 2.4
>            Reporter: Steinar Bang
>            Assignee: Arnaud Heritier
>             Fix For: 2.6
>
>
> If you run "mvn eclipse:eclipse -DdownloadSources=true" it attempts to download source jars for all projects, even when it has tried (and failed) to download the jars in earlier projects.  This slows down the goal a lot on slow network connections.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira