Maven Surefire
  1. Maven Surefire
  2. SUREFIRE-764

java.io.tmpdir from MAVEN_OPTS should be inherited when forking

    Details

    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      For Maven 3 freestyle jobs in Hudson you can select "Private temporary directory". This will set "MAVEN_OPTS=-Djava.io.tmpdir=..." for the Maven execution.
      However, surefire/failsafe plugin forks by default and the forked process will then not be using this temp directory as the new JVM settings are not inherited from MAVEN_OPTS.

      I'm suggesting that java.io.tmpdir should be inherited from MAVEN_OPTS, if specified.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Anders Hammar
          • Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: