Hi,

I'm having trouble with resource-filtering in an assembly which is shared
amongst multiple modules in a multi-module project, according to the recipe
in MDG 
12.6.1<http://books.sonatype.com/maven-book/reference/assemblies.html#d0e16128>.
Maven 2.0.9, Assembly 2.2-beta-2.



What I'm seeing is this: when I run "mvn package" from a module, it is
filtering resources correctly (namely substituting ${project.version} - I'm
not trying to use and file-based filters), however when running "mvn
package" in the parent directory/project with no other changes, resource
filtering does not occur.  The shared assembly module has a <fileSet> with
<filtered>true</filtered>, and this is the one being filtered when run from
the module.



When I run in the parent project, the reactor order is:



   1. The shared assembly module (has no parent)
   2. The parent project
   3. Module A (child of 2)
   4. Module B (child of 2)
   5. Module C (child of 2)
   6. An all-modules distribution module (has no parent)



All POMs have the same groupId and version (a -SNAPSHOT).  Is this enough
info for anyone to suggest what might be stopping resource-filtering from
working from the parent/top-level project?

Reply via email to