[
http://jira.codehaus.org/browse/MNG-3006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_99632
]
Wendy Smoak commented on MNG-3006:
----------------------------------
You can configure the update policy for each repository. See:
http://maven.apache.org/ref/2.0.4/maven-model/maven.html#class_repository
Sounds like you want either 'always' or an interval in minutes.
> Maven does not always download artifacts from specified repos
> -------------------------------------------------------------
>
> Key: MNG-3006
> URL: http://jira.codehaus.org/browse/MNG-3006
> Project: Maven 2
> Issue Type: Bug
> Components: Artifacts and Repositories
> Affects Versions: 2.0.6
> Environment: Windows XP SP2
> Reporter: David Hoffer
> Fix For: 2.1.x
>
> Attachments: settings.xml
>
>
> Performing maven2 builds does not always downloaded requested artifacts from
> specified repos before complaining that the required artifact is not
> available and giving up. However if I delete my local repo then it always
> works.
> Here is the failure log:
> [12:42:04]: Couldn't find a version in [1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6,
> 1.7, 1.8, 1.9, 1.10, 1.9-SNAPSHOT, 1.11-SNAPSHOT] to match range [1.11,)
> [12:42:04]: com.xrite.retail:retail-commons-classic:jar:null
> [12:42:04]:
> [12:42:04]: from the specified remote repositories:
> [12:42:04]: central (http://xrbuild3:8081/artifactory/repo),
> [12:42:04]: snapshots (http://xrbuild3:8082/artifactory/repo)
> An HTTP port monitor shows that maven refuses to contact the servers until I
> delete my local repo. Maven should always check the remote server before
> giving up.
> I will attach my settings.xml.
--
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