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 ?
It isn't obvious on how to use the eclipse compiler to ignore errors. i.e. Go to Settings > Compiler > Java Compiler, use the Eclipse compiler and specify "-proceedOnError" as a command line parameter.
For a single file you can right click on the file and select 'Open With > XML Editor'. Eclipse remembers which editor you use so you only have to do this once. If 'XML Editor' is not in the list, select 'Other...' and select it from the list displayed in the dialog.
Go to help->eclipse marketplace then search for xml editor, install the Rinzo XML Editor restart eclipse and you should be ready to go. Save this answer. Show activity on this post.
See the following image:
Open the preferences Window > Preferences
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With