mirror of https://github.com/apache/maven.git
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:
parent
440cb8d559
commit
67695dec70
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -58,8 +58,4 @@ public class RepositoryUtils
|
|||
return retValue;
|
||||
}
|
||||
|
||||
public static ArtifactRepository localRepositoryToWagonRepository( String repository )
|
||||
{
|
||||
return new ArtifactRepository( "local", "file://" + repository );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue