I have a bunch of files which are created during Maven's process-resources phase and cleaned during install phase. This clean-up is performed without trouble when I'm not working in Eclipse. e.g: when I execute mvn clean install on git bash.
The problem starts when I do that while my project is open in Eclipse. Even though Maven cleans the files successfully, Eclipse recreates them back into the project. How can I fix this?