Hi,
In the last war plugin SNAPSHOT, there is now a new configuration
parameter which prevent filtering on file extensions :
<configuration>
<nonFilteredFileExtensions>
<nonFilteredFileExtension>pdf</nonFilteredFileExtension>
</nonFilteredFileExtensions>
</configuration>
The default values are jpg,jpeg,gif,bmp,png
--
Olivier
2008/2/13, Rémy Sanlaville <[EMAIL PROTECTED]>:
> 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
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]