Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
2.9
-
None
-
None
-
n/a
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.