[ 
http://issues.ops4j.org/jira/browse/PAXURL-10?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_11057
 ] 

Alin Dreghiciu commented on PAXURL-10:
--------------------------------------

Local build snapshots artifacts have an extra entry named localCopy. So to 
speed up SNAPSHOT resolution in case that this is present in local repo 
metadata the rest of the repositories are skipped. This has the drawback that 
even if there is a newer snapshot  then the one build locally the local on e 
will be used. But this I consider it a corner case and I favor the speed 
against accuracy for this case. This is resolved by commit r10483.

> Slow maven artifact resolution/download
> ---------------------------------------
>
>                 Key: PAXURL-10
>                 URL: http://issues.ops4j.org/jira/browse/PAXURL-10
>             Project: Pax URL
>          Issue Type: Bug
>          Components: mvn
>    Affects Versions: 0.2.0
>            Reporter: Stuart McCulloch
>            Assignee: Alin Dreghiciu
>            Priority: Critical
>             Fix For: 0.2.1
>
>
> I've noticed the 0.7.0 release of Pax-Runner seems to take longer pulling 
> bundles from the local maven repository.
> It seems to sit there "connecting..." for several seconds, then decides to 
> get the bundle from the local filesystem.
> It now takes over a minute to deploy, where it was taking a few seconds :(
> FYI, digging deeper it seems to be spending most of the time in 
> "collectPossibleDownloads" from Pax-URL where it
> goes round querying all the remote repositories, even though it has a fixed 
> version (ie. not SNAPSHOT/LATEST) and
> the artifact itself is already sitting in the local repository.
> Even for SNAPSHOT artifacts it would often be better to use the one from the 
> local repository first, because a lot of
> the time these are locally compiled bundles that have not even reached the 
> remote repositories. It's also pointless
> to check the central repository for SNAPSHOT information because it only has 
> released artifacts.
> (Maven repositories are marked as having snapshots/releases but I don't 
> believe this info is captured by Pax-URL)

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

        

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to