Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Bricon2015-11-01 16:41:49 +0000
committerFred Bricon2015-11-01 16:41:49 +0000
commit7756056a6e7a77365ac3607cce43756e42b193ec (patch)
treef68f5b151428ab0bbe2616f1963285b52ad5f2d3
parentfbbadd779fb6e1f866eb882bca38eca17c270146 (diff)
downloadm2e-core-7756056a6e7a77365ac3607cce43756e42b193ec.tar.gz
m2e-core-7756056a6e7a77365ac3607cce43756e42b193ec.tar.xz
m2e-core-7756056a6e7a77365ac3607cce43756e42b193ec.zip
481173 : substitute vars before resolving maven.multiModuleProjectDirectory
Change-Id: Ic9fc3a9604d47640043b19d44ac444297b35f30c Signed-off-by: Fred Bricon <fbricon@gmail.com>
-rw-r--r--org.eclipse.m2e.launching/src/org/eclipse/m2e/internal/launch/MavenLaunchDelegate.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.m2e.launching/src/org/eclipse/m2e/internal/launch/MavenLaunchDelegate.java b/org.eclipse.m2e.launching/src/org/eclipse/m2e/internal/launch/MavenLaunchDelegate.java
index d59f776a..d6815355 100644
--- a/org.eclipse.m2e.launching/src/org/eclipse/m2e/internal/launch/MavenLaunchDelegate.java
+++ b/org.eclipse.m2e.launching/src/org/eclipse/m2e/internal/launch/MavenLaunchDelegate.java
@@ -270,7 +270,7 @@ public class MavenLaunchDelegate extends JavaLaunchDelegate implements MavenLaun
@SuppressWarnings("restriction")
private void getArgsFromMvnDir(VMArguments arguments, ILaunchConfiguration configuration) throws CoreException {
- String pomDir = configuration.getAttribute(MavenLaunchConstants.ATTR_POM_DIR, "");
+ String pomDir = LaunchingUtils.substituteVar(configuration.getAttribute(MavenLaunchConstants.ATTR_POM_DIR, ""));
if(pomDir.isEmpty()) {
return;
}

Back to the top