Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.9
-
Fix Version/s: None
-
Component/s: Maven Failsafe Plugin, Maven Surefire Plugin, process forking
-
Labels:None
-
Environment:n/a
-
Complexity:Intermediate
-
Number of attachments :
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.