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

Excludes configuration parameter not working for WEB-INF/lib

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      2

      Description

      For a project I need to build a war without the dependencies in the WEB-INF/lib, but with the runtime jar's named in the manifest. Before the 2.0 release (2.0-beta-2) I managed this by adding "*/lib/.jar" to the excludes configuration parameter. The 2.0 release breaks this functionality, which i think should just work fine according the documentation.
      Diff taken from /maven/plugins/trunk/maven-war-plugin.

      1. excludes-patch.txt
        0.7 kB
        Mark Holster
      2. patch-war-exclude2.txt
        0.7 kB
        Robert Watts

        Issue Links

          Activity

          Hide
          Robert Watts added a comment -

          Looking around this problem I think an incorrect patch in MWAR-5http://jira.codehaus.org/browse/MWAR-5 was applied and thus breaking the problem. Here's a patch that undo's the problem, tested it here and works fine.

          Show
          Robert Watts added a comment - Looking around this problem I think an incorrect patch in MWAR-5 http://jira.codehaus.org/browse/MWAR-5 was applied and thus breaking the problem. Here's a patch that undo's the problem, tested it here and works fine.
          Hide
          Mike Perham added a comment -

          Thank you, Robert. Patch applied.

          Show
          Mike Perham added a comment - Thank you, Robert. Patch applied.

            People

            • Assignee:
              Mike Perham
              Reporter:
              Mark Holster
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: