Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-963

Unable to set empty environment variables

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.13
    • Fix Version/s: 2.18
    • Component/s: Maven Surefire Plugin
    • Labels:
      None
    • Environment:
      Linux Ubuntu 12.10,Maven 3.0.4

      Description

      With the following configuration of the maven-surefire-plugin:

      <configuration>
         <environmentVariables>
            <PETALS_CLI_PREFS />
         </environmentVariables>
      </configuration>
      

      I get the String "null" instead of "" as value of my env var in my unit test.

        Attachments

        1. SUREFIRE-963.txt
          1 kB
          Christophe DENEUX

          Issue Links

            Activity

              People

              • Assignee:
                tibordigana Tibor Digana
                Reporter:
                cdeneux Christophe DENEUX
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: