"Known issue":
http://jira.codehaus.org/browse/MNG-2382

What version of Maven and what version of the war plugin are you using?

/Anders

On Thu, Dec 10, 2009 at 14:12, Werner Punz <[email protected]> wrote:

> Hello I have following problem
>
> I have to adjust the maven war plugin to a different webapp source
> directory.
>
> I used
> <webResources>
>        <resource>
>                <directory>webappDir</directory>
>        </resource>
> </webResources> to adjust it
>
> Now if I have a standalone project this works perfectly
> but if I have a parent pom.xml to the webapp I get the error
> that the parent pom tries to locate the webappDir relatively to its
> location instead of the child location and fails of course because
> the webappDir is relative to the childs pom.xml not the parents pom.xml.
>
> I use the version 2.0.2 of the war plugin.
>
> Is this a bug? Or is there another solution to the problem?
>
>
> Werner
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to