Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2013-10-06 22:10:10 -0400
committerIgor Fedorenko2013-10-06 22:10:10 -0400
commitadfe1dc17d699d4483bce84149f2be3c5ea1d007 (patch)
tree4f916c2d155d2fb01c6283d279cafe5f5dd5acf7
parent1e8ca67c1bd339254783313f8ecf439ede3c4e3f (diff)
downloadm2e-core-adfe1dc17d699d4483bce84149f2be3c5ea1d007.tar.gz
m2e-core-adfe1dc17d699d4483bce84149f2be3c5ea1d007.tar.xz
m2e-core-adfe1dc17d699d4483bce84149f2be3c5ea1d007.zip
416882 fixed MavenRuntimeManagerTest.testExternalRuntime failure
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
-rw-r--r--org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/embedder/MavenExternalRuntime.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/embedder/MavenExternalRuntime.java b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/embedder/MavenExternalRuntime.java
index 60b083de..0c1baf34 100644
--- a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/embedder/MavenExternalRuntime.java
+++ b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/embedder/MavenExternalRuntime.java
@@ -119,6 +119,7 @@ public class MavenExternalRuntime implements MavenRuntime {
};
Properties properties = new Properties();
+ properties.putAll(System.getProperties());
properties.put(PROPERTY_MAVEN_HOME, location);
ConfigurationParser parser = new ConfigurationParser(handler, properties);
@@ -213,6 +214,7 @@ public class MavenExternalRuntime implements MavenRuntime {
VersionHandler handler = new VersionHandler();
Properties properties = new Properties();
+ properties.putAll(System.getProperties());
properties.put(PROPERTY_MAVEN_HOME, location);
ConfigurationParser parser = new ConfigurationParser(handler, properties);

Back to the top