Maven WAR Plugin
  1. Maven WAR Plugin
  2. MWAR-248

Plugin warns about missing webxml attribute even if one exists

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      1

      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>

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Dennis Lundberg
              Reporter:
              Gili
            • Votes:
              25 Vote for this issue
              Watchers:
              27 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: