[ https://issues.apache.org/jira/browse/MWAR-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15294017#comment-15294017 ]
Karl Heinz Marbaise edited comment on MWAR-314 at 5/20/16 8:03 PM: ------------------------------------------------------------------- First i need a full working example which shows the problem...Apart from that have you tested this also with the current version and not with an old version....of maven-war-plugin ? [~pablo53pl] If you set {{webXml}} it will not fail cause a web.xml is specified and it exists. Settings {{webXml}} in a parent does not make sense cause it's something that is specific to the web module your are in. Settings {{failOnMissingXml}} to {{false}} would the option which would make sense in a parent if you have a larger number of web apps where you might omit the {{web.xml}} Furthermore we should focus on the subject which is given in the title of this issue otherwise it's hard to see what we are trying to clear up...If there something different than please open an other issue which has a different title. was (Author: khmarbaise): First i need a full working example which shows the problem...Apart from that have you tested this also with the current version and not with an old version....of maven-war-plugin ? > 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: Karl Heinz Marbaise > Priority: Minor > Attachments: pom.xml > > > 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 (v6.3.4#6332)