[
http://jira.codehaus.org/browse/MASSEMBLY-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101295
]
Fabrice BELLINGARD commented on MASSEMBLY-154:
----------------------------------------------
Mikhail,
thanks for your patch. I wrote a unit test for it, and discovered two bugs,
which I fixed. It seems to be working fine now.
I will be doing some more tests, and then apply this in trunk.
> FileSet does not support filtering
> ----------------------------------
>
> Key: MASSEMBLY-154
> URL: http://jira.codehaus.org/browse/MASSEMBLY-154
> Project: Maven 2.x Assembly Plugin
> Issue Type: Improvement
> Affects Versions: 2.2
> Environment: Maven 2.0.4
> Reporter: Rémy Sanlaville
> Assignee: Fabrice BELLINGARD
> Fix For: 2.2-beta-2
>
> Attachments: assembly_fileSet_filtering.patch
>
>
> For the moment we can only set a filter for one file
> <files>
> <file>
> <source>./src/main/resources/log4j.properties</source>
> <outputDirectory>resources</outputDirectory>
> <filtered>true</filtered>
> </file>
> </files>
> It would be nice to can do the same for a set of files like this
> <fileSet>
> <directory>./src/main/resources</directory>
> <outputDirectory>resources</outputDirectory>
> <includes>
> <include>**/*.properties</include>
> </includes>
> <filtered>true</filtered>
> </fileSet>
> Thanks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira