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
Issue Type: Bug
Components: Artifacts and Repositories
Affects Versions: 2.0.9
Environment: any
Reporter: Bernhard Seebass
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