jira-importer opened a new issue, #142:
URL: https://github.com/apache/maven-war-plugin/issues/142

   **[Jakob 
Galbavy](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=jakobgalbavy)**
 opened 
**[MWAR-314](https://issues.apache.org/jira/browse/MWAR-314?redirect=false)** 
and commented
   
   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?
   
   
   ---
   
   **Affects:** 2.4
   
   **Attachments:**
   - 
[build.log](https://issues.apache.org/jira/secure/attachment/12953396/build.log)
 (_271.78 kB_)
   - 
[MWAR-314.zip](https://issues.apache.org/jira/secure/attachment/12953395/MWAR-314.zip)
 (_3.03 kB_)
   - 
[pom.xml](https://issues.apache.org/jira/secure/attachment/12720661/pom.xml) 
(_750 bytes_)
   
   **Issue Links:**
   - [MWAR-384](https://issues.apache.org/jira/browse/MWAR-384) 
failOnMissingWebXml flag ignored if parent pom defined.
   
   
   **Remote Links:**
   - [GitHub Pull Request #4
   ](https://github.com/apache/maven-war-plugin/pull/4)
   
   1 votes, 4 watchers
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to