o Fixed dependency resolution

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747418 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-02-24 16:28:06 +00:00
parent e668c88d56
commit 38aaa7cc5a
1 changed files with 2 additions and 0 deletions

View File

@ -487,8 +487,10 @@ public class LegacyMavenRepositorySystem
public void resolve( Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories )
throws ArtifactResolutionException, ArtifactNotFoundException
{
/* FIXME: Not sure what this was meant to do here but right now it screws up several ITs
File artifactFile = new File( localRepository.getBasedir(), localRepository.pathOf( artifact ) );
artifact.setFile( artifactFile );
//*/
artifactResolver.resolve( artifact, remoteRepositories, localRepository );
}