Author: koen.aers(a)jboss.com
Date: 2011-05-09 16:32:07 -0400 (Mon, 09 May 2011)
New Revision: 31157
Modified:
trunk/forge/plugins/org.jboss.tools.seam.forge/src/org/jboss/tools/seam/forge/importer/ProjectImporter.java
Log:
revert to older dependency of m2e
Modified:
trunk/forge/plugins/org.jboss.tools.seam.forge/src/org/jboss/tools/seam/forge/importer/ProjectImporter.java
===================================================================
---
trunk/forge/plugins/org.jboss.tools.seam.forge/src/org/jboss/tools/seam/forge/importer/ProjectImporter.java 2011-05-09
20:23:02 UTC (rev 31156)
+++
trunk/forge/plugins/org.jboss.tools.seam.forge/src/org/jboss/tools/seam/forge/importer/ProjectImporter.java 2011-05-09
20:32:07 UTC (rev 31157)
@@ -30,7 +30,7 @@
Job job = new WorkspaceJob("Importing Forge project") {
public IStatus runInWorkspace(IProgressMonitor monitor) {
try {
- MavenPlugin.getProjectConfigurationManager().importProjects(
+ MavenPlugin.getDefault().getProjectConfigurationManager().importProjects(
getProjectToImport(),
new ProjectImportConfiguration(),
monitor);
@@ -40,7 +40,7 @@
return Status.OK_STATUS;
}
};
- job.setRule(MavenPlugin.getProjectConfigurationManager().getRule());
+ job.setRule(MavenPlugin.getDefault().getProjectConfigurationManager().getRule());
job.schedule();
}
@@ -49,7 +49,7 @@
try {
File projectDir = new File(baseDirPath, projectName);
File pomFile = new File(projectDir, "pom.xml");
- Model model = MavenPlugin.getMavenModelManager().readMavenModel(pomFile);
+ Model model =
MavenPlugin.getDefault().getMavenModelManager().readMavenModel(pomFile);
String pomName = projectName + "/" + "pom.xml";
result = new MavenProjectInfo(pomName, pomFile, model, null);
} catch (CoreException e) {
Show replies by date