Maven Resources Plugin
  1. Maven Resources Plugin
  2. MRESOURCES-44

${settings.localRepository} is not expanded by resource filtering

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2, 2.3
    • Fix Version/s: 2.4
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux
    • Number of attachments :
      0

      Description

      When filtering resources, $

      {settings.localRepository}

      is not expanded (remains unchanged in the output file)
      $

      {maven.repo.local}

      does not work either, for that matter

        Issue Links

          Activity

          Hide
          zaccret added a comment - - edited

          This bug is related to Maven Embedder and is not specific to resources filtering

          Show
          zaccret added a comment - - edited This bug is related to Maven Embedder and is not specific to resources filtering
          Hide
          Guillaume Jeudy added a comment -

          I cannot comment on MNGECLIPSE-299 for some reasons but just restating this problem happen even with using external maven 2.0.9 with m2eclipse build: 0.9.7.200902090938 and eclipse 3.3.2 (no WTP)

          Show
          Guillaume Jeudy added a comment - I cannot comment on MNGECLIPSE-299 for some reasons but just restating this problem happen even with using external maven 2.0.9 with m2eclipse build: 0.9.7.200902090938 and eclipse 3.3.2 (no WTP)
          Hide
          Guillaume Jeudy added a comment -

          This bug happens with maven 2.0.9 and no use of maven embedded at all.

          The filtering does not expand $

          {settings.localRepository}

          or $

          {maven.repo.local}

          for that matter...

          Show
          Guillaume Jeudy added a comment - This bug happens with maven 2.0.9 and no use of maven embedded at all. The filtering does not expand $ {settings.localRepository} or $ {maven.repo.local} for that matter...
          Hide
          Guillaume Jeudy added a comment -

          This is really a show-stopper for me. No workaround can be used for this issue. I tried different versions (2.0, 2.1, 2.2, 2.3) of the resource plugin and all fail to interpolate the $

          {settings.localRepository}

          , $

          {maven.repo.local}

          , $

          {localRepository}

          variables...

          Show
          Guillaume Jeudy added a comment - This is really a show-stopper for me. No workaround can be used for this issue. I tried different versions (2.0, 2.1, 2.2, 2.3) of the resource plugin and all fail to interpolate the $ {settings.localRepository} , $ {maven.repo.local} , $ {localRepository} variables...
          Hide
          John Casey added a comment -

          Review for 2.4 release.

          Show
          John Casey added a comment - Review for 2.4 release.
          Hide
          Guillaume Jeudy added a comment -

          I still fail to to interpolate

          {settings.localRepository}

          , $

          {maven.repo.local}

          , $

          {localRepository}

          variables... I'm using resources plugin 2.4 with maven 2.0.9, I also tried with maven 2.2.1 with no success.

          With which version of maven have you tested the fix successfully ?

          Show
          Guillaume Jeudy added a comment - I still fail to to interpolate {settings.localRepository} , $ {maven.repo.local} , $ {localRepository} variables... I'm using resources plugin 2.4 with maven 2.0.9, I also tried with maven 2.2.1 with no success. With which version of maven have you tested the fix successfully ?
          Hide
          MickaŽl Leduque added a comment -

          Any news for this bug, which is still present in maven 3.0.2 with resources plugin 2.6 ?

          Show
          MickaŽl Leduque added a comment - Any news for this bug, which is still present in maven 3.0.2 with resources plugin 2.6 ?

            People

            • Assignee:
              John Casey
              Reporter:
              Roar Lauritzsen
            • Votes:
              5 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: