Maven Assembly Plugin
  1. Maven Assembly Plugin
  2. MASSEMBLY-548

Improve documentation for filters parameter

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3
    • Component/s: None
    • Labels:
      None
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      I was looking for some way to defining my own properties to be used for filtering
      files that will be a part of the assembly.

      I found it at http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/filtering-some-distribution-files.html like this:

       
              <configuration>
                <filters>
                  <filter>src/assemble/filter.properties</filter>
                </filters>
                <descriptors>
                  <descriptor>src/assemble/distribution.xml</descriptor>
                </descriptors>
              </configuration>
      

      It would be nice to encounter that infomration (and maybe more examples) here:
      http://maven.apache.org/plugins/maven-assembly-plugin/plugin-info.html
      which would have saved me, and probably other person as well, some time.

      Best regards /Lasse Bergström

        Activity

        Hide
        Anders Hammar added a comment -

        It's the filters parameter that needs some text.

        Show
        Anders Hammar added a comment - It's the filters parameter that needs some text.
        Hide
        Anders Hammar added a comment -

        Suggest that the summary is altered to "Add explanation to the filters parameter in goal details page".

        Show
        Anders Hammar added a comment - Suggest that the summary is altered to "Add explanation to the filters parameter in goal details page".
        Hide
        Anders Hammar added a comment - - edited

        Suggest the following text (copied, and altered, from m-resources-p):

        The list of extra filter properties files to be used along with System properties, project properties, and filter properties files specified in the POM build/filters section, which should be used for the filtering during the current mojo execution.
        Normally, these will be configured from a plugin's execution section, to provide a different set of filters for a particular execution.

        Show
        Anders Hammar added a comment - - edited Suggest the following text (copied, and altered, from m-resources-p): The list of extra filter properties files to be used along with System properties, project properties, and filter properties files specified in the POM build/filters section, which should be used for the filtering during the current mojo execution. Normally, these will be configured from a plugin's execution section, to provide a different set of filters for a particular execution.
        Hide
        Anders Hammar added a comment -

        Patch file attached.

        Show
        Anders Hammar added a comment - Patch file attached.
        Hide
        Dennis Lundberg added a comment -

        Patch applied in r1214956.

        Thanks!

        Show
        Dennis Lundberg added a comment - Patch applied in r1214956 . Thanks!

          People

          • Assignee:
            Dennis Lundberg
            Reporter:
            Lasse Bergström
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: