mirror of https://github.com/apache/maven.git
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:
parent
b8d4bcaa0d
commit
d4fdb18d1f
|
@ -422,6 +422,8 @@ public class DefaultMavenProjectBuilder
|
|||
localRepository = new File( userHome, ".m2/repository" ).getAbsolutePath();
|
||||
}
|
||||
|
||||
System.setProperty( "maven.repo.local", localRepository );
|
||||
|
||||
return RepositoryUtils.localRepositoryToWagonRepository( localRepository );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue