I am new to Maven and I noticed an interesting thing in the Maven WAR plugin.
When I pack my Java web application using war: war, a zipper is created. This war also contains the pom.xml and pom.properties files in the META-INF directory. But if I pack my application with war: exploded and created an exploded military directory, these two files will not be included.
Now I'm curious why pom.xml and pom.properties are not packaged in a blown up war. In addition to these two files, the contents of the bloated and zipped war lightning are equal.
Is there a reason the plugin skips pom.xml and pom.properties from a blown war?
user321068
source
share