It seems to be a bug.
I don't know when it was introduced.
In the plugin code, for the goal war:war-resources, we have :
<j:if test="${webSourcesPresent == 'true'}">
<ant:copy todir="${maven.war.webapp.dir}" filtering="on"
preservelastmodified="true"
overwrite="${maven.war.resources.overwrite}">
<ant:fileset dir="${maven.war.src}"
includes="${maven.war.src.includes}"
excludes="${maven.war.src.excludes}">
</ant:fileset>
<j:if test="${maven.war.property.expansion}" >
<ant:filterchain>
<ant:expandproperties/>
</ant:filterchain>
</j:if>
</ant:copy>
</j:if>
The filtering is activated but if you exclude your images using maven.war.src.excludes, these ones will not be copied.
Temporarly, what you can do it's to define your binary resources in maven.war.src.exclude.
For example : maven.war.src.exclude=*/.gif,*/.jpg
Then you add a post goal of war:war-resources in you project to copy your binary resources without filter :
<postGoal name="war:war-resources">
<j:if test="${webSourcesPresent == 'true'}">
<ant:copy todir="${maven.war.webapp.dir}" filtering="off"
preservelastmodified="true"
overwrite="${maven.war.resources.overwrite}">
<ant:fileset dir="${maven.war.src}"
includes="${maven.war.src.excludes}"
excludes="${maven.war.src.includes}">
</ant:fileset>
<j:if test="${maven.war.property.expansion}" >
<ant:filterchain>
<ant:expandproperties/>
</ant:filterchain>
</j:if>
</ant:copy>
</j:if>
</postGoal>
(You noticed that I reversed excludes and includes)
With that it should works.
For us, what we have to do is either to remove the filtering (I don't know if it useful) or to keep it but to add a property maven.war.bin.excludes which will be used to don't copy this resources with a filter.
What do you mean with 'during a copy'. What are you trying to do excactly?