I have a web project for which I would like to exclude static content in my resultant war file. I have a property set as follows:
maven.war.src.excludes = **/*.gif This works great as I need to exclude .gif files from my war. I can also do this maven.war.src.excludes = **/*.jpg This also works when I need to exclude JPGs. Now, according to http://maven.apache.org/maven-1.x/plugins/war/properties.html, I should be able to specify both on the same property assignment: "Comma or space separated list of Ant path patterns specifying what files and directories from ${maven.war.src} that should be excluded from the web application. This tells me that I should be able to do this: (comma-separated) maven.war.src.excludes = **/*.jpg,**/*.gif or even this: (space-separated) maven.war.src.excludes = **/*.jpg **/*.gif However, neither of these work!! (ugh!!) What happens in each chase is that NO files get excluded, as if the property was never specified to begin with. Can anyone tell me if this is a bug, a feature, or if I'm missing something completely obvious? All other components of the war are build perfectly. Thanks in advance, Jeff
