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

System properties are not reported in xml files

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.5
    • Fix Version/s: None
    • Component/s: xml generation
    • Labels:
      None
    • Environment:
      Maven 2.2.1

      Description

      Calling Maven with system properties like "mvn test -Dmaven.test.failure.ignore=true -Dmaven.test.error.ignore=true" do show up in the generated xml files.
      Either there should be a single entry like
      <property name="system.properties" value="maven.test.failure.ignore=true maven.test.error.ignore=true"/>
      or one per system property
      <property name="maven.test.error.ignore" value="true"/>
      <property name="maven.test.failure.ignore" value="true"/>
      In the second case it would make sense to rename the tag to system_property to differentiate from regular properties.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mhinterseher Michael Hinterseher
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: