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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.1
    • 3.1.0
    • overlay
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: