From 5aaed1919bc81ffb7c4e470745d1e4dcdfaa262d Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Mon, 15 Mar 2010 19:33:48 +0000 Subject: [PATCH] [MNG-4590] [regression] System properties are no longer interpolated in imported POMs git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@923400 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/model/building/DefaultModelBuilder.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java b/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java index ca1e8ba7c5..cb1b241954 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java +++ b/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java @@ -695,6 +695,9 @@ public class DefaultModelBuilder { importRequest = new DefaultModelBuildingRequest(); importRequest.setValidationLevel( ModelBuildingRequest.VALIDATION_LEVEL_MINIMAL ); + importRequest.setModelCache( request.getModelCache() ); + importRequest.setSystemProperties( request.getSystemProperties() ); + importRequest.setUserProperties( request.getUserProperties() ); } importRequest.setModelSource( importSource );