[
http://jira.codehaus.org/browse/MNG-3207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_107376
]
Mathias Arens commented on MNG-3207:
------------------------------------
The problem does not occur with current maven 2.0.8-SNAPSHOT version if I
define a <pluginRepository> pointing to archiva. But it does not always help in
maven 2.0.7.
Thus this issue can be closed.
> 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