From 36e362367b3d5f851bf67d05352e8d875cc7f3d3 Mon Sep 17 00:00:00 2001 From: Emmanuel Venisse Date: Thu, 30 Sep 2004 14:48:07 +0000 Subject: [PATCH] Add automatically maven.repo.local to system properties. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163168 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/project/DefaultMavenProjectBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java b/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java index 275fdac478..9bbcaee309 100644 --- a/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java +++ b/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java @@ -127,8 +127,8 @@ public class DefaultMavenProjectBuilder localRepositoryValue = superModel.getLocal().getRepository(); } - // TODO: systemProperty in modello will make this redundant localRepositoryValue = System.getProperty( "maven.repo.local", localRepositoryValue ); + System.setProperty( "maven.repo.local", localRepositoryValue ); ArtifactRepository localRepository = null; if ( localRepositoryValue != null )