Package org.eclipse.m2e.core.project

Examples of org.eclipse.m2e.core.project.IProjectConfigurationManager.enableMavenNature()


            ResolverConfiguration configuration = new ResolverConfiguration();
            configuration.setResolveWorkspaceProjects(true);
            configuration.setActiveProfiles("");

            IProjectConfigurationManager configurationManager = MavenPlugin.getProjectConfigurationManager();
            configurationManager.enableMavenNature(project, configuration, new NullProgressMonitor());

            configurationManager.updateProjectConfiguration(project, new NullProgressMonitor());
          }
          catch (CoreException e) {
            RooCoreActivator.log(e);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.