Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2011-08-18 12:29:40 -0400
committerIgor Fedorenko2011-08-18 12:29:48 -0400
commit50195086b66fbedda87ba47617493e78eda4b346 (patch)
treed9a59f810eaa56fd17a7f5e34b3fb094ef9b353a
parentb87cb86db7d6bb787ed20b537e012e4d1d8a18f1 (diff)
downloadm2e-core-50195086b66fbedda87ba47617493e78eda4b346.tar.gz
m2e-core-50195086b66fbedda87ba47617493e78eda4b346.tar.xz
m2e-core-50195086b66fbedda87ba47617493e78eda4b346.zip
use proper progress monitor
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
-rw-r--r--org.eclipse.m2e.launching/src/org/eclipse/m2e/internal/launch/MavenLaunchDelegate.java3
1 files changed, 1 insertions, 2 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 03639a46..00d965af 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
@@ -21,7 +21,6 @@ import java.util.List;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.Job;
import org.eclipse.debug.core.DebugEvent;
@@ -68,7 +67,7 @@ public class MavenLaunchDelegate extends JavaLaunchDelegate implements MavenLaun
m2conf.addArchiveEntry(MavenLaunchUtils.getCliResolver(runtime));
}
MavenLaunchUtils.addUserComponents(configuration, m2conf);
- runtime.createLauncherConfiguration(m2conf, new NullProgressMonitor());
+ runtime.createLauncherConfiguration(m2conf, monitor);
File state = MavenPluginActivator.getDefault().getStateLocation().toFile();
try {

Back to the top