Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2011-04-06 13:12:08 -0400
committerIgor Fedorenko2011-04-06 13:12:29 -0400
commit0f43bd7699a6efb6b9cf10384ec0c5729fb32761 (patch)
treee55ceb44b3ead3f98eff60126382765bef21ed38 /org.eclipse.m2e.launching
parent115790c06bd53ab6f8a2a002a18065191116ea98 (diff)
downloadm2e-core-0f43bd7699a6efb6b9cf10384ec0c5729fb32761.tar.gz
m2e-core-0f43bd7699a6efb6b9cf10384ec0c5729fb32761.tar.xz
m2e-core-0f43bd7699a6efb6b9cf10384ec0c5729fb32761.zip
do not expose internal classes through public MavenPlugin
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.java3
1 files changed, 2 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 05ae523a..af133db2 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
@@ -39,6 +39,7 @@ import org.eclipse.m2e.core.MavenPlugin;
import org.eclipse.m2e.core.core.IMavenConstants;
import org.eclipse.m2e.core.embedder.IMavenConfiguration;
import org.eclipse.m2e.core.embedder.IMavenLauncherConfiguration;
+import org.eclipse.m2e.core.internal.MavenPluginActivator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -69,7 +70,7 @@ public class MavenLaunchDelegate extends JavaLaunchDelegate implements MavenLaun
MavenLaunchUtils.addUserComponents(configuration, m2conf);
runtime.createLauncherConfiguration(m2conf, new NullProgressMonitor());
- File state = MavenPlugin.getDefault().getStateLocation().toFile();
+ File state = MavenPluginActivator.getDefault().getStateLocation().toFile();
try {
File dir = new File(state, "launches"); //$NON-NLS-1$
dir.mkdirs();

Back to the top