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

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 3.0.0
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: