You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Matthew Buckett (JIRA)" <ji...@codehaus.org> on 2008/04/25 16:35:46 UTC

[jira] Commented: (MNG-2443) Don't download pom if artifact is already in the local repository

    [ http://jira.codehaus.org/browse/MNG-2443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=132631#action_132631 ] 

Matthew Buckett commented on MNG-2443:
--------------------------------------

One issue is that if a POM isn't present for a artifact then the download of this POM is attempted every build even if the repository is configured to only be checked for updates less frequently, this can make a large build slow down considerably. 

> Don't download pom if artifact is already in the local repository
> -----------------------------------------------------------------
>
>                 Key: MNG-2443
>                 URL: http://jira.codehaus.org/browse/MNG-2443
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.4
>            Reporter: Carsten Ziegeler
>            Assignee: Jason van Zyl
>             Fix For: 2.1
>
>
> There are many projects out there just providing their artifact without a pom (whether this is good or not is a different question). Now in this case m2 always tries to download a pom for those artifacts, even if the artifact itself is already in the local repository. And if you have several of those artifacts combined with more than one repository configured, then there are a lot of unnecessary download attempts.
> I think this falls into the same category as changing a pom in the repository (which should be forbidden) - so if for the first time the artifact is downloaded no pom available, then there will never be a pom for this specific artifact.

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