mirror of https://github.com/apache/maven.git
[MNG-3955] [regression] ${settings.localRepository} does not reflect actual repo path if maven.repo.local used
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@734219 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ef18c490e4
commit
5872cd6d2e
|
@ -343,6 +343,11 @@ public class DefaultMavenExecutionRequestPopulator
|
|||
{
|
||||
request.setLocalRepository( createLocalRepository( request, request.getSettings(), configuration ) );
|
||||
}
|
||||
|
||||
if ( request.getLocalRepositoryPath() == null )
|
||||
{
|
||||
request.setLocalRepositoryPath( new File( request.getLocalRepository().getBasedir() ).getAbsoluteFile() );
|
||||
}
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue