I'm trying to turn on useStrictFiltering in a fileSet in an assembly
descriptor, but maven doesn't fail when the file does not exist.  Here
is an example of what the assembly descriptor looks like:

<?xml version="1.0" encoding="UTF-8"?><assembly>
  <formats>
    <format>tar.gz</format>
  </formats>
  <fileSets>
<fileSet>
        <useStrictFiltering>true</useStrictFiltering>
        <directory>src/main</directory>
        <includes>
                <include>nonexistant.txt*</include>
        </includes>
</fileSet>
  </fileSets>
</assembly>

Running "mvn package" happily produces a tarball with no indication that
anything is wrong.

I can provide a full complete minimal test case if needed.  I tried this
with Maven 2.2.1, on both MS Windows XP, and RHEL5.  Am I doing
something wrong?

eric

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to