mirror of https://github.com/apache/maven.git
o Only set the local repository if it's missing.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@408734 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c2296be700
commit
c6723a940a
|
@ -118,7 +118,10 @@ public class DefaultMaven
|
||||||
public void execute( MavenExecutionRequest request )
|
public void execute( MavenExecutionRequest request )
|
||||||
throws MavenExecutionException
|
throws MavenExecutionException
|
||||||
{
|
{
|
||||||
request.setLocalRepository( mavenTools.createLocalRepository( request.getLocalRepositoryPath() ) );
|
if ( request.getLocalRepository() == null )
|
||||||
|
{
|
||||||
|
request.setLocalRepository( mavenTools.createLocalRepository( request.getLocalRepositoryPath() ) );
|
||||||
|
}
|
||||||
|
|
||||||
Logger logger = loggerManager.getLoggerForComponent( Mojo.ROLE );
|
Logger logger = loggerManager.getLoggerForComponent( Mojo.ROLE );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue