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

          Stéphane Nicoll made changes -
          Field Original Value New Value
          Link This issue relates to MWAR-235 [ MWAR-235 ]
          Stéphane Nicoll made changes -
          Fix Version/s 2.1.2 [ 17452 ]
          Dennis Lundberg made changes -
          Link This issue depends upon PLXCOMP-192 [ PLXCOMP-192 ]
          Dennis Lundberg made changes -
          Link This issue is duplicated by MWAR-270 [ MWAR-270 ]
          Dennis Lundberg made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Dennis Lundberg [ dennislundberg ]
          Resolution Fixed [ 1 ]
          Kristian Rosenvold made changes -
          Fix Version/s 2.2 [ 15001 ]
          Fix Version/s 2.1.2 [ 17452 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: