Maven Shared Components
  1. Maven Shared Components
  2. MSHARED-62

Excludes are ignored for deletion if followSymlinks=false

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: file-management-1.2
    • Fix Version/s: file-management-1.2.1
    • Component/s: file-management
    • Labels:
      None
    • Number of attachments :
      0

      Description

      For a file set like

      <fileset>
        <excludes>
          <exclude>*excluded*</exclude>
        </excludes>
        <includes>
          <include>**</include>
        </includes>
        <followSymlinks>false</followSymlinks>
      </fileset>
      

      the excludes are effectively ignored by FileSetManager.delete() due to a typo.

        Issue Links

          Activity

          Hide
          Benjamin Bentmann added a comment -

          Fixed in r693981.

          Show
          Benjamin Bentmann added a comment - Fixed in r693981 .

            People

            • Assignee:
              Benjamin Bentmann
              Reporter:
              Benjamin Bentmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: