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

components are not interpolated - i.e., ${params} are not substituted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.2-beta-2
    • None
    • None
    • all

    Description

      Components are no more than the extension of an Assembly. As such, they ought to also be interpolated. Why is there the current restriction that the ${param} will be replaced when it appears in an Assembly, but not if it appears in a Component?

      Without interpolating Components, it will not be possible to refactor a component out of an assembly if it contains a ${param} to be replaced.

      Attached is a diff with the code change and a test case. The change: the call to merge components into the assembly now appears before assembly's interpolation in the DefaultAssemblyReader, not after.

      Regards,
      John

      Attachments

        1. CompInterpol.diff
          3 kB
          John J. Franey

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              jjfraney@verizon.net John J. Franey
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: