Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilos Kleint2011-07-26 02:27:13 -0400
committerMilos Kleint2011-07-26 02:27:13 -0400
commit93179f239cac8aab9f4f59c4fe9df995eb3d872c (patch)
tree8d328a9f5a0f565c5169d39ec12e3b2d57d7c2de
parent1005fff8b7a3b0daf6660a7abd1cb7bcb5c115e8 (diff)
downloadm2e-core-93179f239cac8aab9f4f59c4fe9df995eb3d872c.tar.gz
m2e-core-93179f239cac8aab9f4f59c4fe9df995eb3d872c.tar.xz
m2e-core-93179f239cac8aab9f4f59c4fe9df995eb3d872c.zip
350161 use readProject instead of execute to get hold of MavenProject instance
-rw-r--r--org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/actions/SelectionUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/actions/SelectionUtil.java b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/actions/SelectionUtil.java
index 6266dc6c..eb678252 100644
--- a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/actions/SelectionUtil.java
+++ b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/actions/SelectionUtil.java
@@ -325,7 +325,7 @@ public class SelectionUtil {
request.setRecursive(false);
request.setPom(pomFile);
- MavenExecutionResult result = maven.execute(request, monitor);
+ MavenExecutionResult result = maven.readProject(request, monitor);
MavenProject project = result.getProject();
if(project!=null) {

Back to the top