Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2011-04-06 21:53:18 +0000
committerIgor Fedorenko2011-04-07 00:30:01 +0000
commit1cc5b9d5675ce5c12b65dba5b0e1ab728f346373 (patch)
tree2ea849f915d8422bf8457fa810e395c209a1c9ea /org.eclipse.m2e.refactoring/src/org/eclipse/m2e/refactoring/exclude
parent34f8c611dc55b1bc853e8b432a9f30b71c4b2db2 (diff)
downloadm2e-core-1cc5b9d5675ce5c12b65dba5b0e1ab728f346373.tar.gz
m2e-core-1cc5b9d5675ce5c12b65dba5b0e1ab728f346373.tar.xz
m2e-core-1cc5b9d5675ce5c12b65dba5b0e1ab728f346373.zip
Introduced IMavenProjectRegistry to replace MavenProjectManager
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Diffstat (limited to 'org.eclipse.m2e.refactoring/src/org/eclipse/m2e/refactoring/exclude')
-rw-r--r--org.eclipse.m2e.refactoring/src/org/eclipse/m2e/refactoring/exclude/ExcludeArtifactRefactoring.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.m2e.refactoring/src/org/eclipse/m2e/refactoring/exclude/ExcludeArtifactRefactoring.java b/org.eclipse.m2e.refactoring/src/org/eclipse/m2e/refactoring/exclude/ExcludeArtifactRefactoring.java
index 6bcc9a55..b451345e 100644
--- a/org.eclipse.m2e.refactoring/src/org/eclipse/m2e/refactoring/exclude/ExcludeArtifactRefactoring.java
+++ b/org.eclipse.m2e.refactoring/src/org/eclipse/m2e/refactoring/exclude/ExcludeArtifactRefactoring.java
@@ -87,11 +87,11 @@ public class ExcludeArtifactRefactoring extends Refactoring {
}
protected IMavenProjectFacade getMavenProjectFacade(IFile pom) {
- return MavenPlugin.getDefault().getMavenProjectManager().create(pom, true, new NullProgressMonitor());
+ return MavenPlugin.getDefault().getMavenProjectRegistry().create(pom, true, new NullProgressMonitor());
}
protected IMavenProjectFacade getMavenProjectFacade(MavenProject mavenProject) {
- return MavenPlugin.getDefault().getMavenProjectManager()
+ return MavenPlugin.getDefault().getMavenProjectRegistry()
.getMavenProject(mavenProject.getGroupId(), mavenProject.getArtifactId(), mavenProject.getVersion());
}

Back to the top