When packaging the project using maven, the maven-war-plugin:war goal has the following information.
[INFO] Packaging webapp [INFO] Assembling webapp [xxx] in [/Users/zhangna13/Workspace/xxx/xxx/target/xxx-release-1.0-SNAPSHOT] [INFO] Processing war project [INFO] Copying webapp resources [/Users/zhangna13/Workspace/xxx/xxx/src/main/webapp] [INFO] Webapp assembled in [2230 msecs] [INFO] Building war: /Users/zhangna13/Workspace/xxx/xxx/target/xxx-release-1.0-SNAPSHOT.war [INFO] WEB-INF/web.xml already added, skipping
I find the web.xml in the target directory, but why 2 web.xml files exist?