DependentWarExcludes is marked as deprecated. Documentation says to use <overlay>/<excludes> instead.
But it seems to me that it is not possible to get the same behaviour with <overlay>/<excludes> as in this case we have to provide groupIds and artifactIds.
Maybe this behaviour could be reproduced when setting both groupId and artifactId to * as below :
By the way, I found this, by looking for a way to disable overlay. The workaround I thought was configuring your plugin to exclude every files when overlaying.
I think it would be nice to have a configuration parameter for that.