[ http://jira.codehaus.org/browse/MNG-3750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed MNG-3750. ----------------------------- Resolution: Won't Fix Fix Version/s: (was: 2.2.x (to be reviewed)) Assignee: Brett Porter Maven needs to get the POM to determine what the best one to use is, if it is available. This will be revised when the algorithm is later. > Artifact version is downloaded even if excluded or omitted for nearer > --------------------------------------------------------------------- > > Key: MNG-3750 > URL: http://jira.codehaus.org/browse/MNG-3750 > Project: Maven 2 & 3 > Issue Type: Bug > Components: Artifacts and Repositories > Affects Versions: 2.0.9 > Environment: any > Reporter: Bernhard Seebass > Assignee: Brett Porter > > mvn downloads artifact versions, even if they are excluded or omitted for > nearer. > This is a real problem, if the artifact version in question is a SNAPSHOT > version that is no more available. > Example debug output (from eclipse): > Unable to get resource 'commons-dbutils:commons-dbutils:pom:20060830' from > repository central (http://repo1.maven.org/maven2) Unable to locate resource > in repository > testArtifact: artifact=commons-dbutils:commons-dbutils:jar:20060830:compile > omitForNearer: omitted=commons-dbutils:commons-dbutils:jar:20060830:compile > kept=commons-dbutils:commons-dbutils:jar:1.1:compile -- 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