I had such a problem too, though my project's structure is far from being "normal".
I can suggest adding this line:
<webXml>/home/sandbox/myproject-3.0/subproject/web-content/WEB-INF/web.xml</webXml>
inside the maven-war-plugin (just don't forget to change the path to your value). Here's the whole block from my pom.xml:
<build>
<finalName>gw-weather</finalName>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.0-alpha-2</version>
<configuration>
<warSourceDirectory>/home/sandbox/myproject-3.0/subproject/web-content/</warSourceDirectory>
<webXml>/home/sandbox/myproject-3.0/subproject/web-content/WEB-INF/web.xml</webXml>
</configuration>
</plugin>
</plugins>
</build>
If the problem can't be solved this way, could you please send the part of your pom.xml that is responsible for this error?
Sincerely Igor Deruga.
Hugo Palma wrote:
I have a multimodule project where one of the modules is a web application therefor with war packaging.
The directory structure i use is the "normal" one with
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]