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
If you wan to delete more than one directory recursively:
maven-clean-plugin 3.0.0 auto-clean clean clean ${basedir} **/dir1/** ${basedir} **/dir2/** ${basedir} **/dir3/**