[ http://jira.codehaus.org/browse/MASSEMBLY-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101318 ]
Fabrice BELLINGARD commented on MASSEMBLY-221: ---------------------------------------------- You can also use <excludes> on the <fileSet> to prevent it from overwriting the filtered files defined in <file>. Anyways, I fixed MASSEMBLY-154 so, as you mentioned, this bug is obsolete. I'll close it. > Filtering doesn't work when a file matches both a <fileSet> and a <file> > ------------------------------------------------------------------------ > > Key: MASSEMBLY-221 > URL: http://jira.codehaus.org/browse/MASSEMBLY-221 > Project: Maven 2.x Assembly Plugin > Issue Type: Bug > Affects Versions: 2.2-beta-1, 2.2-beta-2, 2.2 > Environment: Linux, JDK 1.5 > Reporter: Jim Crossley > Fix For: 2.2-beta-2 > > Attachments: example.tgz > > > When a subset of files in a <fileSet> need to be filtered, separate <file> > elements are required for each file. In 2.1, this worked, but in 2.2 the > files seem to be filtered in the target/archive-tmp directory, but they don't > make it into the zip file. A simple example project demonstrating the > problem is attached. -- 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