I am creating a nested project in which I have services and web-apps. For services and web-apps root pom I have given packaging as pom but for services subproject, I gave packaging type as jar and for web-apps subproject, I have given packaging type as war. I have been getting below error for web-apps. It says web.xml is required to build. I am just creating an empty project but why does this error come up?
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project saloon: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)