[
https://jira.codehaus.org/browse/MSITE-697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=347023#comment-347023
]
Jeremy Gustie commented on MSITE-697:
-------------------------------------
It was my understanding that {{.vm}} only worked for supported documentation
formats (apt, fml, xdoc), not general resources.
I went back and verified that files under {{src/site/resources}} with a {{.vm}}
extension are not treated specially using Maven 3.2.1 and version 3.3 of the
Site Plugin. For example, I have {{src/site/resources/css/foobar.css.vm}},
after running {{mvn site}} I have {{target/site/css/foobar.css.vm}} and the
file is unfiltered.
> Add ability to filter site resources
> ------------------------------------
>
> Key: MSITE-697
> URL: https://jira.codehaus.org/browse/MSITE-697
> Project: Maven Site Plugin
> Issue Type: New Feature
> Affects Versions: 3.3
> Reporter: Dennis Lundberg
>
> It would be great if it was possible to filter the site resources, similar to
> how you can filter web resources in the WAR Plugin. This feature would need
> to be configurable and default to being off, for backwards compatibility.
> There should also be a configuration parameter for which file extensions
> should be excluded from the filtering process. That should have a good
> default value covering the standard image formats (gif, jpg and png) and also
> PDFs.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)