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/02/27 01:07:00 UTC

[jira] [Created] (SUREFIRE-2155) system property java.io.tmpdir set too late

Olivier Lamy created SUREFIRE-2155:
--------------------------------------

             Summary: 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
             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)