o Fixed artifact filter propagation

o Added task tag for bug in resolution of system-scope dependencies

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746832 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-02-22 21:58:50 +00:00
parent 38e7799397
commit 63c695adaa
1 changed files with 4 additions and 2 deletions

View File

@ -142,8 +142,9 @@ public class LegacyRepositorySystem
ArtifactFilter filter )
throws ArtifactResolutionException, ArtifactNotFoundException
{
return artifactResolver.resolveTransitively(artifacts, originatingArtifact, remoteRepositories, localRepository, artifactMetadataSource );
}
return artifactResolver.resolveTransitively( artifacts, originatingArtifact, localRepository,
remoteRepositories, artifactMetadataSource, filter );
}
public Set<Artifact> createArtifacts(
List<Dependency> dependencies, String inheritedScope,
@ -463,6 +464,7 @@ public class LegacyRepositorySystem
throws ArtifactResolutionException, ArtifactNotFoundException
{
File artifactFile = new File( localRepository.getBasedir(), localRepository.pathOf( artifact ) );
// FIXME: Not sure whether this is just intermediate code but the call belows wrecks havoc on system dependencies
artifact.setFile( artifactFile );
artifactResolver.resolve( artifact, remoteRepositories, localRepository );
}