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

Proposal to use java Map for surefire's systemProperties

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.3
    • 2.5
    • Maven Surefire Plugin
    • None

    Description

      There is a known problem documented at http://maven.apache.org/plugins/maven-surefire-plugin/examples/system-properties.html where maven properties other than java String are not able to pass into surefire

      This is mainly because systemProperties is mapped to java Properties class. However if we map it to java Map
      the problem solves.

      see http://svn.codehaus.org/mojo/trunk/mojo/build-helper-maven-plugin/src/it/surefire for details.

      So I would like to propose that we deprecate "systemProperties" and introduce a new one "systemPropertyVariables" to use java Map ( similar to surefire's environmentVariables"

      Thoughts?

      Attachments

        1. SUREFIRE-511.patch
          2 kB
          Dan Tran

        Activity

          People

            danttran Dan Tran
            dantran Dan Tran
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: