[
http://jira.codehaus.org/browse/MNG-3006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=229435#action_229435
]
Bob Fields commented on MNG-3006:
---------------------------------
Looks like the version range selection is working correctly, 1.11-SNAPSHOT is
considered earlier than 1.11. Use 1.11-! to select versions with qualifiers.
However there is a related bug in maven 2.2.1 where a four part version (used
by Eclipse, Spring, and Hibernate artifacts) are not recognized in version
ranges. This appears to be fixed in maven3 but needs to be fixed in maven2 also.
Couldn't find a version in [3.6.0.v20100517] to match range [3.5.0,4.0.0)
org.eclipse.osgi:org.eclipse.osgi:jar:null
> Maven does not always download artifacts from specified repos
> -------------------------------------------------------------
>
> Key: MNG-3006
> URL: http://jira.codehaus.org/browse/MNG-3006
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Artifacts and Repositories
> Affects Versions: 2.0.6
> Environment: Windows XP SP2
> Reporter: David Hoffer
> Fix For: Issues to be reviewed for 3.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