Skip to content

Commit 558e316

Browse files
saukedia1saukedia1
authored andcommitted
BAEL-2011 Eclipse error: web.xml is missing and <failOnMissingWebXml> is
set to true
1 parent b9c7d82 commit 558e316

1 file changed

Lines changed: 26 additions & 26 deletions

File tree

‎maven/maven-war-plugin/pom.xml‎

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0"
2-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4-
<modelVersion>4.0.0</modelVersion>
5-
<groupId>com.baeldung</groupId>
6-
<artifactId>maven-war-plugin-property</artifactId>
7-
<version>0.0.1-SNAPSHOT</version>
8-
<packaging>war</packaging>
9-
<name>maven-war-plugin-property</name>
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>com.baeldung</groupId>
6+
<artifactId>maven-war-plugin-property</artifactId>
7+
<version>0.0.1-SNAPSHOT</version>
8+
<packaging>war</packaging>
9+
<name>maven-war-plugin-property</name>
10+
11+
<!-- Set failOnMissingWebXml as false in properties section -->
12+
<properties>
13+
<failOnMissingWebXml>false</failOnMissingWebXml>
14+
</properties>
1015

11-
<!-- Set failOnMissingWebXml as false in properties section -->
12-
<properties>
13-
<failOnMissingWebXml>false</failOnMissingWebXml>
14-
</properties>
15-
16-
<build>
17-
<plugins>
18-
<plugin>
19-
<artifactId>maven-war-plugin</artifactId>
20-
<!-- Update maven war plugin to 3.1.0 or higher -->
21-
<version>3.1.0</version>
22-
<configuration>
23-
<!-- Set failOnMissingWebXml configuration for maven war plugin -->
24-
<failOnMissingWebXml>false</failOnMissingWebXml>
25-
</configuration>
26-
</plugin>
27-
</plugins>
28-
</build>
16+
<build>
17+
<plugins>
18+
<plugin>
19+
<artifactId>maven-war-plugin</artifactId>
20+
<!-- Update maven war plugin to 3.1.0 or higher -->
21+
<version>3.1.0</version>
22+
<configuration>
23+
<!-- Set failOnMissingWebXml configuration for maven war plugin -->
24+
<failOnMissingWebXml>false</failOnMissingWebXml>
25+
</configuration>
26+
</plugin>
27+
</plugins>
28+
</build>
2929
</project>

0 commit comments

Comments
 (0)