You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2018/06/03 11:29:00 UTC

[jira] [Closed] (MWAR-408) is not doing anything. web.xml still the default one regardless of the value of the attribute

     [ https://issues.apache.org/jira/browse/MWAR-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Heinz Marbaise closed MWAR-408.
------------------------------------
    Resolution: Cannot Reproduce

> <webXml> is not doing anything. web.xml still the default one regardless of the value of the attribute
> ------------------------------------------------------------------------------------------------------
>
>                 Key: MWAR-408
>                 URL: https://issues.apache.org/jira/browse/MWAR-408
>             Project: Maven WAR Plugin
>          Issue Type: Bug
>          Components: filtering
>    Affects Versions: 3.1.0
>         Environment: Maven 3.5, Netbeans 8.2, Java8
>            Reporter: Catalin Crihan
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)