Merge pull request #6474 from kdsalvy/master
BAEL-2011 Eclipse error: web.xml is missing and <failOnMissingWebXml> is set to true
This commit is contained in:
commit
1123d00871
|
@ -0,0 +1,29 @@
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
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">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<groupId>com.baeldung</groupId>
|
||||||
|
<artifactId>maven-war-plugin-property</artifactId>
|
||||||
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
|
<packaging>war</packaging>
|
||||||
|
<name>maven-war-plugin-property</name>
|
||||||
|
|
||||||
|
<!-- Set failOnMissingWebXml as false in properties section -->
|
||||||
|
<properties>
|
||||||
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-war-plugin</artifactId>
|
||||||
|
<!-- Update maven war plugin to 3.1.0 or higher -->
|
||||||
|
<version>3.1.0</version>
|
||||||
|
<configuration>
|
||||||
|
<!-- Set failOnMissingWebXml configuration for maven war plugin -->
|
||||||
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
Loading…
Reference in New Issue