can't do this yet

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163695 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-03-24 16:16:49 +00:00
parent ff261cd131
commit 39a96456cd
2 changed files with 4 additions and 1 deletions

View File

@ -710,7 +710,8 @@ public class MavenProject
existing.getVersion(),
a.getScope(), existing.getType() );
artifact.setFile( existing.getFile() );
// TODO: should copy files if it is set
// artifact.setFile( existing.getFile() );
artifacts.put( id, artifact );
}

View File

@ -31,6 +31,7 @@ import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
import org.apache.maven.model.Model;
import org.apache.maven.model.io.xpp3.MavenXpp3Reader;
import java.io.File;
import java.io.InputStreamReader;
import java.util.List;
import java.util.Set;
@ -70,6 +71,7 @@ public class ProjectClasspathArtifactResolver
public Artifact resolve( Artifact artifact, List remoteRepositories, ArtifactRepository localRepository )
throws ArtifactResolutionException
{
artifact.setFile( new File( "dummy" ) );
return artifact;
}