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 2016/08/23 13:20:21 UTC

[jira] [Reopened] (MWAR-262) default value should be false for Servlet level > 2.5 projects

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

Karl Heinz Marbaise reopened MWAR-262:
--------------------------------------

> <failOnMissingWebXml> default value should be false for Servlet level > 2.5 projects
> ------------------------------------------------------------------------------------
>
>                 Key: MWAR-262
>                 URL: https://issues.apache.org/jira/browse/MWAR-262
>             Project: Maven WAR Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.1.1
>            Reporter: Fred Bricon
>             Fix For: 3.0.1
>
>
> Since JavaEE 5, the web.xml deployment descriptor is optional. In this case <failOnMissingWebXml> should default to false.
> How do we do detect that?
> - introduce a new <version> or <servletVersion> attribute to the configuration, similar to the <version> in maven-ear-plugin and maven-ejb-plugin
> - check if the project's classpath contains classes fom JavaEE > 5 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)