method only used once

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163341 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-02-08 04:39:51 +00:00
parent 440cb8d559
commit 67695dec70
2 changed files with 1 additions and 6 deletions

View File

@ -32,7 +32,6 @@ import org.apache.maven.execution.MavenExecutionResponse;
import org.apache.maven.execution.initialize.MavenInitializingExecutionRequest;
import org.apache.maven.execution.project.MavenProjectExecutionRequest;
import org.apache.maven.execution.reactor.MavenReactorExecutionRequest;
import org.apache.maven.repository.RepositoryUtils;
import org.codehaus.classworlds.ClassWorld;
import org.codehaus.plexus.embed.ArtifactEnabledEmbedder;
@ -303,6 +302,6 @@ public class MavenCli
// TODO [BP]: this should not be necessary - grep for and remove
System.setProperty( MavenConstants.MAVEN_REPO_LOCAL, localRepository );
return RepositoryUtils.localRepositoryToWagonRepository( localRepository );
return new ArtifactRepository( "local", "file://" + localRepository );
}
}

View File

@ -58,8 +58,4 @@ public class RepositoryUtils
return retValue;
}
public static ArtifactRepository localRepositoryToWagonRepository( String repository )
{
return new ArtifactRepository( "local", "file://" + repository );
}
}