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

Plugin warns about missing webxml attribute even if one exists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.1
    • 2.2
    • None
    • None

    Description

      I am attaching a debug log that clearly demonstrates how the WAR plugin warns about a missing webxml attribute which exists. I am attempting to let the plugin know that the web.xml file it is encountering is the same one specified by the webxml attribute.

      My pom file contains:

      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-war-plugin</artifactId>
      <version>2.1.1</version>
      <configuration>
      <failOnMissingWebXml>true</failOnMissingWebXml>
      <webXml>src/main/webapp/WEB-INF/web.xml</webXml>
      </configuration>
      </plugin>

      Attachments

        1. debug.log
          12 kB
          Gili

        Issue Links

          Activity

            People

              dennisl@apache.org Dennis Lundberg
              cowwoc Gili
              Votes:
              25 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: