Skip to content

Commit a981ad1

Browse files
Stephan202rickie
authored andcommitted
More more unification
1 parent 36b0dc8 commit a981ad1

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

pom.xml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -115,19 +115,6 @@
115115
encoding is necessary because forked unit test invocations
116116
otherwise use the environment's file encoding. -->
117117
-Dfile.encoding=${project.build.sourceEncoding}
118-
<!-- This argument *can* be set through Surefire's
119-
'systemPropertyVariables' configuration setting, but by placing it
120-
here it automatically also applies to the Failsafe plugin. To avoid
121-
potential slowdown of tests relying on
122-
`java.security.SecureRandom`, on Unix systems we use a
123-
lower-quality source of randomness. Note that it is not fatal for
124-
the file not to exist, so this setting is Windows-compatible. The
125-
`/./` syntax is no accident; see
126-
https://bugs.openjdk.java.net/browse/JDK-6202721 for details. -->
127-
-Djava.security.egd=file:/dev/./urandom
128-
<!-- On Mac OS X, running in headless mode prevents the forked JVMs
129-
from showing up in the dock and capturing window focus. -->
130-
-Djava.awt.headless=true
131118
</argLine>
132119
<!-- The maximum amount of heap memory available to forked Surefire
133120
processes. Factored out into a separate property to allow overriding. -->
@@ -1371,6 +1358,21 @@
13711358
junit.platform.stacktrace.pruning.enabled=false</configurationParameters>
13721359
</properties>
13731360
<redirectTestOutputToFile>true</redirectTestOutputToFile>
1361+
<systemPropertyVariables>
1362+
<!-- On macOS, running in headless mode prevents
1363+
the forked JVMs from showing up in the dock and
1364+
capturing window focus. -->
1365+
<java.awt.headless>true</java.awt.headless>
1366+
<!-- On Unix systems we use a lower-quality source
1367+
of randomness, to avoid potential slowdown of tests
1368+
relying on `java.security.SecureRandom`. Note that
1369+
it is not fatal for the file to not exist, so this
1370+
setting is Windows-compatible. The `/./` syntax is
1371+
no accident; see
1372+
https://bugs.openjdk.java.net/browse/JDK-6202721
1373+
for details. -->
1374+
<java.security.egd>file:/dev/./urandom</java.security.egd>
1375+
</systemPropertyVariables>
13741376
</configuration>
13751377
</plugin>
13761378
<plugin>

0 commit comments

Comments
 (0)