You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2023/03/11 08:34:00 UTC
[jira] [Updated] (SUREFIRE-2155) system property java.io.tmpdir set too late
[ https://issues.apache.org/jira/browse/SUREFIRE-2155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Slawomir Jaranowski updated SUREFIRE-2155:
------------------------------------------
Fix Version/s: (was: 3.0.0-M10)
> system property java.io.tmpdir set too late
> -------------------------------------------
>
> Key: SUREFIRE-2155
> URL: https://issues.apache.org/jira/browse/SUREFIRE-2155
> Project: Maven Surefire
> Issue Type: Bug
> Affects Versions: 3.0.0-M9
> Reporter: Olivier Lamy
> Assignee: Olivier Lamy
> Priority: Major
>
> Using such configuration
> {code}
> <systemPropertyVariables>
> <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
> </systemPropertyVariables>
> {code}
> This code doesn't create the tmp directory on ${project.build.directory}
> {code}
> Files.createTempDirectory​("foo")
> {code}
> property such java.io.tmpdir (and probably all) should be configured with using -D of the forked jvm
--
This message was sent by Atlassian Jira
(v8.20.10#820010)