Order of repositories for download should be inverted if Archiva is used.
-------------------------------------------------------------------------

                 Key: MNG-3207
                 URL: http://jira.codehaus.org/browse/MNG-3207
             Project: Maven 2
          Issue Type: Wish
          Components: Bootstrap & Build
    Affects Versions: 2.0.7
            Reporter: Mathias Arens
            Priority: Minor


Preconditions:

1. Remoterepositories like central, codehaus, etc. are accessed over Archiva  
(configured via a mirror for central in the settings.xml).
2. Direct internet access is disabled, HTTP Proxies for maven are not configured

Maven can only access remote repositories over archiva. There are plugins which 
have a <repositories> section in there pom, like the jspc-maven-plugin. If 
artifacts are missing, then maven tries to download the missing artifacts from 
repositories defined in the plugins pom first. This fails after a long timeout 
and then maven tries to download the artifact from central which is mirrored by 
archiva.

The problem is that the timeout is very long and cannot be configured. In my 
case a build can take more than two hours for a fresh installation.

It would be great if the order of repositories is inverted if a mirror is 
configured in the settings.xml. Or if you can set the order of repositories on 
the command line. Or if it is possible to set the connection timeouts.





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

        

Reply via email to