Maven 1.x Test Plugin
  1. Maven 1.x Test Plugin
  2. MPTEST-37

When tests are run in a separate JVM, all system properties from the current JVM should be provided to the forked tests

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      There is an element of surprise when running maven.junit.fork = yes in that system properties aren't passed to the forked jvm.

        Activity

        Hide
        John Sisson added a comment -

        Is the new clonevm attribute of the JUnit task in Ant 1.7 (not yet released) what you want?

        http://cvs.apache.org/viewcvs.cgi/*checkout*/ant/docs/manual/OptionalTasks/junit.html

        Show
        John Sisson added a comment - Is the new clonevm attribute of the JUnit task in Ant 1.7 (not yet released) what you want? http://cvs.apache.org/viewcvs.cgi/*checkout*/ant/docs/manual/OptionalTasks/junit.html
        Hide
        Michael Osipov added a comment -

        Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

        Show
        Michael Osipov added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

          People

          • Assignee:
            Unassigned
            Reporter:
            dion gillard
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: