Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-221

Filtering doesn't work when a file matches both a <fileSet> and a <file>

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2-beta-1, 2.2-beta-3, 2.2
    • 2.2-beta-2
    • None
    • None
    • Linux, JDK 1.5

    Description

      When a subset of files in a <fileSet> need to be filtered, separate <file> elements are required for each file. In 2.1, this worked, but in 2.2 the files seem to be filtered in the target/archive-tmp directory, but they don't make it into the zip file. A simple example project demonstrating the problem is attached.

      Attachments

        1. example.tgz
          1 kB
          Jim Crossley

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jcrossley Jim Crossley
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: