I have:
<files>
<file>
<source>${basedir}/src/main/resources/readme.txt</source>
<outputDirectory>/</outputDirectory>
<filtered>true</filtered>
</file>
</files>
in my pom and I can confirm it works with 2.2.-beta-1. Is yours inside files
element?
Kalle
On 12/30/07, Ryan Moquin <[EMAIL PROTECTED]> wrote:
>
> I've been trying to find out why my assembly doesn't appear to be working
> correctly. I thought I saw someone mention in one of the bug reports that
> the <file> elements no longer copy with 2.2-beta. I've discovered that to
> be true since my resources specified with <file> don't copy with
> 2.2-betabut they do with
> 2.1. Is there anything specific about 2.2-beta that needs done to make it
> work? Or is it really broken?
>
> I tried with and without basedir, but this just doesn't work with 2.2-beta
> .
>
> <file>
>
> <source>${basedir}/src/assembly/resources/server/conf/server.xml</source>
> <filtered>true</filtered>
> <outputDirectory>/conf</outputDirectory>
> </file>
>
>
> Ryan
>