BAEL-2011 Eclipse error: web.xml is missing and <failOnMissingWebXml> is

set to true
This commit is contained in:
saukedia1 2019-03-08 16:02:36 +05:30
parent b9c7d82e15
commit 558e316623

View File

@ -1,29 +1,29 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>maven-war-plugin-property</artifactId> <artifactId>maven-war-plugin-property</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging> <packaging>war</packaging>
<name>maven-war-plugin-property</name> <name>maven-war-plugin-property</name>
<!-- Set failOnMissingWebXml as false in properties section -->
<properties>
<failOnMissingWebXml>false</failOnMissingWebXml>
</properties>
<!-- Set failOnMissingWebXml as false in properties section --> <build>
<properties> <plugins>
<failOnMissingWebXml>false</failOnMissingWebXml> <plugin>
</properties> <artifactId>maven-war-plugin</artifactId>
<!-- Update maven war plugin to 3.1.0 or higher -->
<build> <version>3.1.0</version>
<plugins> <configuration>
<plugin> <!-- Set failOnMissingWebXml configuration for maven war plugin -->
<artifactId>maven-war-plugin</artifactId> <failOnMissingWebXml>false</failOnMissingWebXml>
<!-- Update maven war plugin to 3.1.0 or higher --> </configuration>
<version>3.1.0</version> </plugin>
<configuration> </plugins>
<!-- Set failOnMissingWebXml configuration for maven war plugin --> </build>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>