Search code examples
javamavenwarningsm2eclipse

How to ignore XML warnings from a specific folder in Eclipse?


I'm building a java project with Eclipse and the plugin m2e (it adds Maven support in Eclipse).

There some XML Surefire reports ine the target directory. They generate annoying warnings because they have neither a DTD nor an XML Schema.

How can you tell Eclipse to ignore **/target folders ?


Solution

  • See the following image:
    Open the preferences Window > Preferences

    enter image description here