Try this for exceptions:
<excludes> <exclude>src/main/dml/**</exclude> </excludes>
to match all contents of a folder and its subfolders
UPDATE: Oh, sorry, your exceptions apply to your directory, so you need to
<excludes> <exclude>dml/**</exclude> </excludes>
source share