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/24 18:09:20 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15435410#comment-15435410 ]
Karl Heinz Marbaise commented on MWAR-262:
------------------------------------------
I will change the default from {{true}} to {{false}}
> <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.0
>
>
> 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)