JAVA-49: Moved maven-war-plugin to maven-modules

This commit is contained in:
sampadawagde 2020-06-28 13:49:24 +05:30
parent d9c46907d8
commit b15fc50991
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,7 @@
## Maven WAR Plugin
This module contains articles about the Maven WAR Plugin.
### Relevant Articles
- [Eclipse Error: web.xml is missing and failOnMissingWebXml is set to true](https://www.baeldung.com/eclipse-error-web-xml-missing)

View File

@ -0,0 +1,32 @@
<?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>
<packaging>war</packaging>
<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<!-- Update maven war plugin to 3.1.0 or higher -->
<version>${war.plugin.version}</version>
<configuration>
<!-- Set failOnMissingWebXml configuration for maven war plugin -->
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
<!-- Set failOnMissingWebXml as false in properties section -->
<properties>
<failOnMissingWebXml>false</failOnMissingWebXml>
<war.plugin.version>3.1.0</war.plugin.version>
</properties>
</project>