mirror of https://github.com/apache/maven.git
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:
parent
ff261cd131
commit
39a96456cd
|
@ -710,7 +710,8 @@ public class MavenProject
|
||||||
existing.getVersion(),
|
existing.getVersion(),
|
||||||
a.getScope(), existing.getType() );
|
a.getScope(), existing.getType() );
|
||||||
|
|
||||||
artifact.setFile( existing.getFile() );
|
// TODO: should copy files if it is set
|
||||||
|
// artifact.setFile( existing.getFile() );
|
||||||
|
|
||||||
artifacts.put( id, artifact );
|
artifacts.put( id, artifact );
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,6 +31,7 @@ import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
|
||||||
import org.apache.maven.model.Model;
|
import org.apache.maven.model.Model;
|
||||||
import org.apache.maven.model.io.xpp3.MavenXpp3Reader;
|
import org.apache.maven.model.io.xpp3.MavenXpp3Reader;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
import java.io.InputStreamReader;
|
import java.io.InputStreamReader;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
@ -70,6 +71,7 @@ public class ProjectClasspathArtifactResolver
|
||||||
public Artifact resolve( Artifact artifact, List remoteRepositories, ArtifactRepository localRepository )
|
public Artifact resolve( Artifact artifact, List remoteRepositories, ArtifactRepository localRepository )
|
||||||
throws ArtifactResolutionException
|
throws ArtifactResolutionException
|
||||||
{
|
{
|
||||||
|
artifact.setFile( new File( "dummy" ) );
|
||||||
return artifact;
|
return artifact;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue