If I package a web application with the maven goal war:exploded, why won't pom.xml and pom.propertie
- by Bernhard V
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?