Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
3.1.0
-
None
-
None
-
Maven 3.5, Netbeans 8.2, Java8
-
Important
Description
I try to set a custom web.xml to my war-file by using the following configuration:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<failOnMissingWebXml>true</failOnMissingWebXml>
<configuration>
<webXml>${basedir}/target/web.xml</webXml>
</configuration>
</configuration>
</plugin>
The setting: "<webXml>${basedir}/target/web.xml</webXml>" seems to have no function whatsoever. Regardless of the value I use the result is the same, even if the file is not existent the plugin gives no warning, at least. The plugin generates its default web.xml and this is it all.