[Closed] (MWAR-314) failOnMissingWebXml ignored when webXml set

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Closed] (MWAR-314) failOnMissingWebXml ignored when webXml set

Benjamin Marwell (Jira)

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

Robert Scholte closed MWAR-314.
-------------------------------
    Fix Version/s: 3.2.4
         Assignee: Robert Scholte  (was: Karl Heinz Marbaise)
       Resolution: Fixed

Fixed in [d98aee4b2c0e58c89f610f4fa1c613861c4cdcd1|https://gitbox.apache.org/repos/asf?p=maven-war-plugin.git;a=commit;h=d98aee4b2c0e58c89f610f4fa1c613861c4cdcd1]
Thanks for the patch!

> failOnMissingWebXml ignored when webXml set
> -------------------------------------------
>
>                 Key: MWAR-314
>                 URL: https://issues.apache.org/jira/browse/MWAR-314
>             Project: Maven WAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>         Environment: Windows 7, IBM RAD 9.0
>            Reporter: Jakob Galbavy
>            Assignee: Robert Scholte
>            Priority: Minor
>             Fix For: 3.2.4
>
>         Attachments: MWAR-314.zip, build.log, pom.xml
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Hi,
> if the webXml attribute is set in the configuration of the plugin (in my case inherited from a parent pom), the failIOnMissingWebXml boolean is ignored.
> To reproduce that:
> * import maven project from attached pom OR create new project (simple archetype), package: war
> * use attached pom.xml OR include the plugin in the pom and set webXml to something and failOnMissingWebXml to false
> * mvn clean install
> -> failed
> ********
> * comment the webXml attribute out
> * mvn clean install
> -> success
> cheers
> Jakob
> PS: in my understanding of xml, using <webXml /> in the pom should set that attribute to NULL, but that doesn't work either. Is that another bug or supposed to be like that?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)