Pax-Runner 0.7.0 takes longer to deploy
---------------------------------------

                 Key: PAXRUNNER-112
                 URL: http://issues.ops4j.org/jira/browse/PAXRUNNER-112
             Project: Pax Runner
          Issue Type: Bug
          Components: handler mvn
    Affects Versions: 0.7.0
            Reporter: Stuart McCulloch
            Assignee: Alin Dreghiciu
            Priority: Critical


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