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

Restore dependentWarExcludes/Includes since there is no alternative on global level

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 3.1.0
    • Component/s: overlay
    • Labels:
      None

      Description

      Hello,

      DependentWarExcludes is marked as deprecated. Documentation says to use <overlay>/<excludes> instead.
      But it seems to me that it is not possible to get the same behaviour with <overlay>/<excludes> as in this case we have to provide groupIds and artifactIds.
      Maybe this behaviour could be reproduced when setting both groupId and artifactId to * as below :
      <overlays>
      <overlay>
      <excludes>
      <groupId>*</groupId>
      <artifactId>*</artifactId>
      <exclude>*/</exclude>
      </excludes>
      </overlay>
      </overlays>

      By the way, I found this, by looking for a way to disable overlay. The workaround I thought was configuring your plugin to exclude every files when overlaying.
      I think it would be nice to have a configuration parameter for that.

      Many thanks,

      Dool

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael-o Michael Osipov
                Reporter:
                dool dool
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: