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

FileSet does not support filtering

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2-beta-1
    • 2.2-beta-2
    • None
    • None
    • Maven 2.0.4

    Description

      For the moment we can only set a filter for one file

          <files>
              <file>
                  <source>./src/main/resources/log4j.properties</source>
                  <outputDirectory>resources</outputDirectory>
                  <filtered>true</filtered>
              </file>
          </files>

      It would be nice to can do the same for a set of files like this

          <fileSet>
            <directory>./src/main/resources</directory>
            <outputDirectory>resources</outputDirectory>
            <includes>
              <include>**/*.properties</include>
            </includes>
            <filtered>true</filtered>
          </fileSet>

      Thanks

      Attachments

        1. assembly_fileSet_filtering.patch
          4 kB
          Mikhail Krangach

        Issue Links

          Activity

            People

              fabemn Fabrice Bellingard
              sanlavre Sanlaville Rémy
              Votes:
              14 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: