maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Lundberg <denn...@apache.org>
Subject Re: duplicate web.xml files in a .war file
Date Thu, 04 Nov 2010 19:46:11 GMT
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/14210327@N05/5146351490/
> 
> Thanks,
> Andrew
> 


-- 
Dennis Lundberg

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


Mime
View raw message