Set maven.repo.local system property.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163226 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2004-11-02 11:03:27 +00:00
parent b8d4bcaa0d
commit d4fdb18d1f
1 changed files with 2 additions and 0 deletions

View File

@ -422,6 +422,8 @@ public class DefaultMavenProjectBuilder
localRepository = new File( userHome, ".m2/repository" ).getAbsolutePath();
}
System.setProperty( "maven.repo.local", localRepository );
return RepositoryUtils.localRepositoryToWagonRepository( localRepository );
}