Uploaded image for project: 'Maven WAR Plugin'
  1. Maven WAR Plugin
  2. MWAR-262

<failOnMissingWebXml> default value should be false for Servlet level > 2.5 projects

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.1
    • 3.0.0
    • 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

          Activity

            People

              khmarbaise Karl Heinz Marbaise
              fbricon Fred Bricon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: