Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2015-01-08 22:21:45 -0500
committerIgor Fedorenko2015-01-08 22:21:45 -0500
commit5726b16fe7d4c7b4a6cb8a0fc9d66ac9303824c5 (patch)
treeca34b8e29f2a365f8d5e2a3e7ffee9fa1c10e244 /org.eclipse.m2e.editor.xml
parent08b6e76aac2fcff353b537f38f52e82a8b14f2e3 (diff)
downloadm2e-core-5726b16fe7d4c7b4a6cb8a0fc9d66ac9303824c5.tar.gz
m2e-core-5726b16fe7d4c7b4a6cb8a0fc9d66ac9303824c5.tar.xz
m2e-core-5726b16fe7d4c7b4a6cb8a0fc9d66ac9303824c5.zip
457093 can't mark missing project configurator as ignored
Change-Id: I6a0b05d7903d5fae5e6ede92cbc0d819c7a09099 Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
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.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 5562d228..7e67662d 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
@@ -58,6 +58,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