Re: [m2] Exception assembling WAR

2005-05-16 Thread Hugo Palma
Thanks for all the replies. Only now i've noticed that the webapp dir has moved inside the main dir since Maven 1. I just moved the webapp dir inside main and it worked fine. Thanks again. Hugo Igor Deruga wrote: Hello, Hugo! I had such a problem too, though my project's structure is far from be

Re: [m2] Exception assembling WAR

2005-05-16 Thread Emmanuel Venisse
Igor Deruga wrote: Hello, Hugo! I had such a problem too, though my project's structure is far from being "normal". I can suggest adding this line: /home/sandbox/myproject-3.0/subproject/web-content/WEB-INF/web.xml inside the maven-war-plugin (just don't forget to change the path to your valu

Re: [m2] Exception assembling WAR

2005-05-16 Thread Igor Deruga
Hello, Hugo! I had such a problem too, though my project's structure is far from being "normal". I can suggest adding this line: /home/sandbox/myproject-3.0/subproject/web-content/WEB-INF/web.xml inside the maven-war-plugin (just don't forget to change the path to your value). Here's the whole b

Re: [m2] Exception assembling WAR

2005-05-16 Thread Emmanuel Venisse
You need to create a web.xml file in src/main/webapp/WEB-INF src/main/webapp/WEB-INF is the default value of warSourceDirectory plugin property Emmanuel Hugo Palma wrote: I have a multimodule project where one of the modules is a web application therefor with war packaging. The directory structu

Re: [m2] Exception assembling WAR

2005-05-16 Thread Brett Porter
On 5/16/05, Hugo Palma <[EMAIL PROTECTED]> 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 > > src > | > - webapp > | > - WEB-INF In that case, you'll need to add

[m2] Exception assembling WAR

2005-05-16 Thread Hugo Palma
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 src | - webapp | - WEB-INF When i run m2 install from the parente module i get the following exception: [ERROR] Cause: org.apache.ma