Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2015-01-08 22:21:45 -0500
committerIgor Fedorenko2015-01-09 09:06:20 -0500
commit9677eb390d535784329719dfb3ce3008306743c2 (patch)
tree0a41b4edb83f9a5930d5149d9d29ef2895fbbf20
parent128c07f4deb66bff4b1f4da41472f7f5f54581b5 (diff)
downloadm2e-core-9677eb390d535784329719dfb3ce3008306743c2.tar.gz
m2e-core-9677eb390d535784329719dfb3ce3008306743c2.tar.xz
m2e-core-9677eb390d535784329719dfb3ce3008306743c2.zip
457093 can't mark missing project configurator as ignored
Change-Id: I36c7a552cf8ea8a94e6a12e3db08129648b6f798 Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
-rw-r--r--org.eclipse.m2e.editor.xml/src/main/java/org/eclipse/m2e/editor/xml/MavenMarkerResolutionGenerator.java4
1 files changed, 4 insertions, 0 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 7ae433af..1cc10d5a 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,6 +57,10 @@ public class MavenMarkerResolutionGenerator implements IMarkerResolutionGenerato
return new IMarkerResolution[] {new LifecycleMappingProposal(marker, PluginExecutionAction.ignore),
new WorkspaceLifecycleMappingProposal(marker, PluginExecutionAction.ignore),};
}
+ if(hint.equals(IMavenConstants.EDITOR_HINT_MISSING_CONFIGURATOR)) {
+ return new IMarkerResolution[] {new LifecycleMappingProposal(marker, PluginExecutionAction.ignore),
+ new WorkspaceLifecycleMappingProposal(marker, PluginExecutionAction.ignore),};
+ }
if(marker.getAttribute(IMarker.SEVERITY, IMarker.SEVERITY_ERROR) == IMarker.SEVERITY_ERROR
&& hint.equals(IMavenConstants.EDITOR_HINT_IMPLICIT_LIFECYCLEMAPPING)) {
return new IMarkerResolution[] {new LifecycleMappingProposal(marker, PluginExecutionAction.ignore),

Back to the top