You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (Jira)" <ji...@apache.org> on 2023/03/01 01:53:00 UTC
[jira] [Closed] (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 ]
Olivier Lamy closed SUREFIRE-2155.
----------------------------------
Resolution: Won't Fix
just using argLine fixed the problem
> 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
> Fix For: 3.0.0-M10
>
>
> 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)