use of com.github.sdedwards.m2e_nar.internal.BuildPathManager in project m2e-nar by maven-nar.
the class MavenNarPlugin method start.
/**
* @noreference see class javadoc
*/
public void start(BundleContext bundleContext) throws Exception {
super.start(bundleContext);
if (Boolean.parseBoolean(Platform.getDebugOption(PLUGIN_ID + "/debug/initialization"))) {
System.err.println("### executing start() " + PLUGIN_ID);
new Throwable().printStackTrace();
}
// Make sure the m2e jdt plugin is initialised first
MavenJdtPlugin.getDefault();
MavenProjectManager projectManager = MavenPluginActivator.getDefault().getMavenProjectManager();
this.buildpathManager = new BuildPathManager(projectManager);
projectManager.addMavenProjectChangedListener(this.buildpathManager);
/*
* this.launchConfigurationListener = new
* MavenLaunchConfigurationListener();
* DebugPlugin.getDefault().getLaunchManager
* ().addLaunchConfigurationListener(launchConfigurationListener);
* projectManager
* .addMavenProjectChangedListener(launchConfigurationListener);
*
* this.mavenClassifierManager = new MavenClassifierManager();
*/
}
Aggregations