Ok, never mind.... I should have switched the tags to
<testResources>... forgot all about that.

On Tue, Sep 23, 2008 at 11:35 AM, Yaakov Chaikin
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a resource I need filtered which used to sit in my
> src/main/resources. I moved it to my src/test/resources. I also
> adjusted the pom.xml:
> <build>
>        <resources>
>                <resource>
>                        <directory>src/test/resources</directory>
>                        <filtering>true</filtering>
>                </resource>
>        </resources>
> </build>
>
>
> When this used to say '<directory>src/main/resources</directory>' and
> the resource was actually in the 'main', everything worked just fine.
> However, now, a very strange thing is happening. When I execute maven
> and look into the target directory, I find the following... The
> 'classes' directory actually has that resource there in its FILTERED
> version, while the 'test-classes' directory has that resource in its
> UNFILTERED version.
>
> I have done many cleans, so it's definitely not an old file. I am not
> even sure why it's inside 'classes' to begin with?! How did the
> resource from the test/resource end up inside the 'classes' directory?
>
> Any idea what I am doing wrong?
>
> Thanks,
> Yaakov.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to