How do I DISABLE this Eclipse warning:
There is no schema defined for this pom.xml.
to keep the noise in Eclipse to a minimum without changing the checked-in artifacts (pom.xml, *.java, etc.)? Compiling the projects via Maven in a shell does not present these warnings.
Several large projects have policies against IDE-specific "fixes", so question is: how can I disable this IDE-specific warning? "Fixes" for the warnings are not allowed, e.g., adding the schema definition to each pom.xml or adding a section to a parent pom file. This question is about disabling these warning, not about the "correctness" of policies like this.
I should be able to configure these IDE-specific tools in the IDE but the Maven Errors/Warnings section in Eclipse has just five (!) settings to twiddle and none cover these particular warnings. But surely there must be a little configuration file (or two) somewhere where I can customize away these warnings, right?!? There is a promising looking file
.settings/org.eclipse.m2e.core.prefs
in the project directory of each imported project but I don't know what, if any, magic to throw in there to do what I want. There is also a promising looking directory in the parent directory
.metadata/.plugins/org.eclipse.m2e.core/
but, again, it's not clear what needs to be done. Has anyone found a way to disable these warnings in Eclipse?