in my project I have a folder called war. It is initially empty and it\'s under version control. The folder gets populated by Maven during its package
war
package
In my case I needed to delete the "bin" directory, and all it's subdirectory contents. I did this in my parent pom.xml:
${basedir} **/bin/** false
This found any bin directory within my project, and deleted any contents of the bin folder.