failonmissingwebxml XML code example
Example 1: web.xml is missing and is set to true
<properties>
<failOnMissingWebXml>false</failOnMissingWebXml>
</properties>
Example 2: fail on missing web xml plugin to add in spring-boot-maven-plugin
<plugin> <artifactId>maven-war-plugin</artifactId> <version>2.4</version> <configuration> <failOnMissingWebXml>false</failOnMissingWebXml> </configuration></plugin>