Hi Olivier,
What about a configuration parameter in the mojo (maven-resources-plugin)
> like :
>
> <filteringIgnoreExtensions>jpg,jpeg,pdf</filteringIgnoreExtensions>
good idea.
Currently adding this in the resource configuration in the pom needs
> some core changes.
>
> Remy, I'm sure you can load an issue in MWAR concerning overlays ;-).
One more, are you sure :-)
I can do it but I am not sure that it's absolutely necessary. It depends on
how it will be manage in the maven-resources-plugin.
But if you think that it's better, just tell me.
We can imagine this configuration for the maven-war-plugin for instance
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.1-alpha-2-SNAPSHOT</version>
<configuration>
<overlays>
<overlay>
<groupId>debug.war</groupId>
<artifactId>common-overlay</artifactId>
<filtered>true</filtered>
<filteringExclusions>
<filteringExclusion>**/*.gif</filteringExclusion>
<filteringExclusion>**/*.jpg</filteringExclusion>
</filteringExclusions>
</overlay>
</overlays>
</configuration>
</plugin>
Rémy