Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilos Kleint2011-02-11 12:36:59 -0500
committerMilos Kleint2011-02-11 12:39:55 -0500
commita819a6a370429370d39139d21e63fc0dabfd1828 (patch)
tree96e957daec148342c036785ad6ca64eb01510e16 /org.eclipse.m2e.editor.xml
parent78106b24bf4414ac316e0438beb07a58e9a3044e (diff)
downloadm2e-core-a819a6a370429370d39139d21e63fc0dabfd1828.tar.gz
m2e-core-a819a6a370429370d39139d21e63fc0dabfd1828.tar.xz
m2e-core-a819a6a370429370d39139d21e63fc0dabfd1828.zip
336971 remove the execute quick fix from ui
Diffstat (limited to 'org.eclipse.m2e.editor.xml')
-rw-r--r--org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/MavenMarkerResolutionGenerator.java6
-rw-r--r--org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/PomQuickAssistProcessor.java2
2 files changed, 5 insertions, 3 deletions
diff --git a/org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/MavenMarkerResolutionGenerator.java b/org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/MavenMarkerResolutionGenerator.java
index 747d38bc..6fa1a568 100644
--- a/org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/MavenMarkerResolutionGenerator.java
+++ b/org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/MavenMarkerResolutionGenerator.java
@@ -57,8 +57,10 @@ public class MavenMarkerResolutionGenerator implements IMarkerResolutionGenerato
};
}
if(hint.equals(IMavenConstants.EDITOR_HINT_NOT_COVERED_MOJO_EXECUTION)) {
- return new IMarkerResolution[] {new LifecycleMappingProposal(marker, PluginExecutionAction.ignore),
- new LifecycleMappingProposal(marker, PluginExecutionAction.execute)};
+ return new IMarkerResolution[] {
+ new LifecycleMappingProposal(marker, PluginExecutionAction.ignore)
+// new LifecycleMappingProposal(marker, PluginExecutionAction.execute)
+ };
}
}
return new IMarkerResolution[0];
diff --git a/org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/PomQuickAssistProcessor.java b/org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/PomQuickAssistProcessor.java
index 75d52ab0..d632e7e8 100644
--- a/org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/PomQuickAssistProcessor.java
+++ b/org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/PomQuickAssistProcessor.java
@@ -120,7 +120,7 @@ public class PomQuickAssistProcessor implements IQuickAssistProcessor {
else if (hint.equals(IMavenConstants.EDITOR_HINT_NOT_COVERED_MOJO_EXECUTION)) {
extractedFromMarkers(proposals, mark); //having this first sort of helps for 335490
proposals.add(new LifecycleMappingProposal(context, mark, PluginExecutionAction.ignore));
- proposals.add(new LifecycleMappingProposal(context, mark, PluginExecutionAction.execute));
+// proposals.add(new LifecycleMappingProposal(context, mark, PluginExecutionAction.execute));
} else if (hint.equals(IMavenConstants.EDITOR_HINT_UNKNOWN_PACKAGING)){
extractedFromMarkers(proposals, mark);
}

Back to the top