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/12/09 03:29:19 UTC

[jira] Created: (MECLIPSE-509) Unavailable cache is incorrectly updated to mark sources/javadoc as not available when downloads option is not specified

Unavailable cache is incorrectly updated to mark sources/javadoc as not available when downloads option is not specified
------------------------------------------------------------------------------------------------------------------------

                 Key: MECLIPSE-509
                 URL: http://jira.codehaus.org/browse/MECLIPSE-509
             Project: Maven 2.x Eclipse Plugin
          Issue Type: Bug
          Components: Core : Dependencies resolution and build path (.classpath)
    Affects Versions: 2.5.1
            Reporter: Barrie Treloar


If downloadSources is not specified and the source jar does not already exist in the local repository then the unavailable cache was incorrectly updated to indicate that the source for this artifact did not exist.  Updating the unavailable cache can only be done if the artifact was resolved against the remote repositories (which requires downloadSources=true)

Similarly for downloadJavadocs.

-- 
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

        

[jira] Closed: (MECLIPSE-509) Unavailable cache is incorrectly updated to mark sources/javadoc as not available when downloads option is not specified

Posted by "Barrie Treloar (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MECLIPSE-509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Barrie Treloar closed MECLIPSE-509.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.6

Updating of the unavailable cache is now only done if downloading was true.

> Unavailable cache is incorrectly updated to mark sources/javadoc as not available when downloads option is not specified
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MECLIPSE-509
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-509
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : Dependencies resolution and build path (.classpath)
>    Affects Versions: 2.5.1
>            Reporter: Barrie Treloar
>            Assignee: Barrie Treloar
>             Fix For: 2.6
>
>
> If downloadSources is not specified and the source jar does not already exist in the local repository then the unavailable cache was incorrectly updated to indicate that the source for this artifact did not exist.  Updating the unavailable cache can only be done if the artifact was resolved against the remote repositories (which requires downloadSources=true)
> Similarly for downloadJavadocs.

-- 
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