From c9be3d3c40d4381697654e03b1b12c0cf845d99c Mon Sep 17 00:00:00 2001 From: Milos Kleint Date: Sun, 2 Jul 2006 17:53:27 +0000 Subject: [PATCH] added comment about System.getProperties git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@418629 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/project/DefaultMavenProjectBuilder.java | 1 + 1 file changed, 1 insertion(+) diff --git a/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java b/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java index ca0ab6e4e4..9c6cb5ebd5 100644 --- a/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java +++ b/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java @@ -865,6 +865,7 @@ public class DefaultMavenProjectBuilder // TODO: Clean this up...we're using this to 'jump' the interpolation step for model properties not expressed in XML. // [BP] - Can this above comment be explained? // We don't need all the project methods that are added over those in the model, but we do need basedir + // mkleint - using System.getProperties() is almost definitely bad for embedding. Map context = new HashMap( System.getProperties() ); if ( projectDir != null )