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

packaged (war:war) and exploded (war:expanded) webapps have different content

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1-beta-1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Specifically, when using <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>, the jars are correctly excluded from the packaged form of the war, but still present in the exploded form.

      Both forms should have identical content and should be totally interchangable. This also means that there is no possible way to exclude jars from an exploded webapp.

      As a workaround, I also attempted this:

      <resource>
        <excludes>
          <exclude>WEB-INF/lib/*.jar</exclude>
        </excludes>
      </resource>
      

      But just got an exception thrown for my efforts...

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Kevin Wright
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development