Maven 2.0.9 and plugin version 2.0.2
anyway I will upgrade the plugin version to 2.2.x to get the fix in
thanks for the hint.

Werner


Anders Hammar schrieb:
"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.p...@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-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to