[ http://jira.codehaus.org/browse/MASSEMBLY-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92550 ]
Rajesh Arya commented on MASSEMBLY-154: --------------------------------------- I would consider a feature such as filtering fileSets a major improvement in the Maven-Assembly-Plugin. Right now I have got a whole lot of files which are produced by the developer team. They ought to be able to insert ${Variable} in their files. The "process-resources" lifecycle-goal as well as "assembly:assembly" goal both act on these set of files and prepare them either for the local machine or for distribution purposes. Now I, who happen to be incharge of the distribution, do not wish to go through these files and see which files are new and need to be included in <files> for filtering, or for that matter which files need to be removed from the descriptor. So please, please Someone with some brains and motivation ought to look into this feature. It would be a great help. > 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 > Fix For: 2.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