maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: maven war plugin different webapp path
Date Thu, 10 Dec 2009 13:22:13 GMT
"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 <werner.punz@gmail.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message