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

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

    Details

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: