If I package a web application with the maven goal war:exploded, why won't pom.xml and pom.propertie

Posted by Bernhard V on Stack Overflow See other posts from Stack Overflow or by Bernhard V
Published on 2010-04-21T08:17:52Z Indexed on 2010/04/21 8:23 UTC
Read the original article Hit count: 575

Filed under:
|
|
|
|

Hi,

I'm pretty new to Maven and I've noticed an interesting thing in the Maven WAR Plugin.

When I package my Java web application with war:war, a zipped war is created. This war contains also the files pom.xml and pom.properties in the META-INF directory. But if I package my application with war:exploded and create an exploded war directory, those two files won't be included.

Now I'm curious, why the pom.xml and the pom.properties aren't packaged into the exploded war. Besides those two files the contents of the exploded and the zipped war are equal.

Is there a reason why the plugin omits pom.xml and pom.properties from the exploded war?

© Stack Overflow or respective owner

Related posts about java

Related posts about maven-2