On 5/6/05, Hugo Palma <[EMAIL PROTECTED]> wrote:
> I'm trying to reference a resource like i did in Maven 1 using the
> resource element like this:
> 
> <resource>
>     <directory>src/test/otherResources</directory>
>         <includes>
>                         <include>*.xml</include>
>        </includes>
> </resource>

nested inside <resources /> inside <build/> this should work.

> But it seems that in Maven 2 the only child element <resource> accepts
> is the <targetPath> element.

Where did you get that information from... is there an error in the
docs? targetPath is the only one not allowed in m2 :)

Cheers,
Brett

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

Reply via email to