java-tutorials/maven-modules/maven-war-plugin/pom.xml

32 lines
1.2 KiB
XML
Raw Normal View History

2019-12-05 09:56:52 -05:00
<?xml version="1.0" encoding="UTF-8"?>
<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</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>maven-war-plugin</name>
2019-12-05 09:56:52 -05:00
<packaging>war</packaging>
<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<!-- Update maven war plugin to 3.1.0 or higher -->
2020-01-15 15:23:26 -05:00
<version>${war.plugin.version}</version>
<configuration>
<!-- Set failOnMissingWebXml configuration for maven war plugin -->
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
2019-12-05 09:56:52 -05:00
<!-- Set failOnMissingWebXml as false in properties section -->
<properties>
<failOnMissingWebXml>false</failOnMissingWebXml>
2020-01-15 15:23:26 -05:00
<war.plugin.version>3.1.0</war.plugin.version>
</properties>
2019-12-05 09:56:52 -05:00
</project>