Maven 1.x War Plugin
  1. Maven 1.x War Plugin
  2. MPWAR-37

war:war-resources should perform property expansion

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6.2
    • Labels:
      None
    • Environment:
      any
    • Testcase included:
      yes
    • Number of attachments :
      2

      Description

      When the war:war-resources goal is performed, resources destined for the WAR artifact are copied to $

      {maven.war.webapp.dir}

      .

      It would be nice if property expansion was done during this copy such that values within resources were expanded.

      A patch is attached.

      1. maven-war-plugin-propertyexpansion.patch
        2 kB
        Troy Poppe
      2. MPWAR-37.diff
        16 kB
        Stéphane Nicoll

        Activity

        Hide
        Troy Poppe added a comment -

        Patch to enable property expansion in war:war-resources goal.

        Show
        Troy Poppe added a comment - Patch to enable property expansion in war:war-resources goal.
        Hide
        Stéphane Nicoll added a comment -

        Full patch with test cases.

        Show
        Stéphane Nicoll added a comment - Full patch with test cases.
        Hide
        Stéphane Nicoll added a comment -

        Applied with additional test cases.

        Thanks.

        Show
        Stéphane Nicoll added a comment - Applied with additional test cases. Thanks.
        Hide
        Arnaud Heritier added a comment -

        Can we close this issue ?

        Show
        Arnaud Heritier added a comment - Can we close this issue ?
        Hide
        Stéphane Nicoll added a comment -

        TBR in 1.6.2 but yes, we can.

        Show
        Stéphane Nicoll added a comment - TBR in 1.6.2 but yes, we can.

          People

          • Assignee:
            Stéphane Nicoll
            Reporter:
            Troy Poppe
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 15 minutes
              15m
              Remaining:
              Remaining Estimate - 15 minutes
              15m
              Logged:
              Time Spent - Not Specified
              Not Specified