if u are packaging a standard war file, u can just delete the war-m-p from the pom.i did this.

-----Original Message----- From: Dennis Lundberg
Sent: Friday, November 05, 2010 3:46 AM
To: Maven Users List
Subject: Re: duplicate web.xml files in a .war file

On 2010-11-04 17:50, Andrew Westberg wrote:
I updated to the latest maven 3.  I noticed that my webapp projects now
contain two copies of web.xml.  Is anyone else seeing this issue?

To avoid this you should always declare which version of plugins you
want in your own POM. If you do not specify any version Maven will
decide that for you. And that can differ between versions of Maven.


I have a very basic pom.xml configuration:
http://pastie.org/1272557

screenshot of .war containing dup web.xml files:
http://www.flickr.com/photos/14210...@n05/5146351490/

Thanks,
Andrew



--
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to