Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4136

Regression: Environment Variables With Parenthesis Can't Be Referenced in POM

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 2.1.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows XP Professional (64-bit)

      Description

      It looks like Maven can longer use environment variables with parenthesis e.g. ProgramFiles(x86). The attached pom.xml emits the following with Maven 2.1.0:

      ProgramFiles(x86) = ${env.ProgramFiles(x86)}

      With Maven 2.0.10 we correctly get the following:

      ProgramFiles(x86) = C:\Program Files (x86)

      This is a pain since ProgramFiles(x86) is standard environment variable on 64-bit Windows.

        Attachments

        1. pom.xml
          0.8 kB
          Joel Turkel

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                joel.turkel Joel Turkel
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: