Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2013-09-29 14:30:52 -0400
committerIgor Fedorenko2013-09-29 14:30:52 -0400
commite2cf20ac1ff22fcba532c26a05800936ef00659c (patch)
treec2789a5a2340a8cb8d6962907828f7df7938fc36 /org.eclipse.m2e.launching
parent529489e7b02fafa3a61617b2dce9819fd378b1f6 (diff)
downloadm2e-core-e2cf20ac1ff22fcba532c26a05800936ef00659c.tar.gz
m2e-core-e2cf20ac1ff22fcba532c26a05800936ef00659c.tar.xz
m2e-core-e2cf20ac1ff22fcba532c26a05800936ef00659c.zip
418279 fixed maven 3.1.x launcher class detection
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Diffstat (limited to 'org.eclipse.m2e.launching')
-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 f3e489d8..6734f4b4 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
@@ -97,7 +97,7 @@ public class MavenLaunchDelegate extends JavaLaunchDelegate implements MavenLaun
}
public String getMainTypeName(ILaunchConfiguration configuration) {
- return launchSupport.getVersion().startsWith("3.0") ? LAUNCHER_TYPE3 : LAUNCHER_TYPE; //$NON-NLS-1$
+ return launchSupport.getVersion().startsWith("3.") ? LAUNCHER_TYPE3 : LAUNCHER_TYPE; //$NON-NLS-1$
}
public String[] getClasspath(ILaunchConfiguration configuration) {

Back to the top