Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.1
-
None
-
None
Description
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
Attachments
Issue Links
- is duplicated by
-
MWAR-285 set *failOnMissingWebXml* to false by default for maven war plugin
- Closed