[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:
Benjamin Bentmann 2009-01-13 19:01:21 +00:00
parent ef18c490e4
commit 5872cd6d2e
1 changed files with 5 additions and 0 deletions

View File

@ -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() );
}
}
// ------------------------------------------------------------------------