Skip to content

Commit

Permalink
Avoid losing the focus because ForkedBooter on MacOS when running tes…
Browse files Browse the repository at this point in the history
…ts (#443)
  • Loading branch information
MRamonLeon committed Sep 24, 2021
1 parent a0b630d commit 54448bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,8 @@
<minimumJavaVersion>1.${java.level}</minimumJavaVersion>
<systemProperties>
<hudson.Main.development>${hudson.Main.development}</hudson.Main.development>
<!-- to avoid losing the focus on MacOS when a new forked jvm is created -->
<java.awt.headless>true</java.awt.headless>
</systemProperties>
</configuration>
</plugin>
Expand Down Expand Up @@ -742,6 +744,8 @@
</property>
</systemProperties>
<runOrder>alphabetical</runOrder>
<!-- to avoid losing the focus on MacOS when a new forked jvm is created -->
<argLine>-Djava.awt.headless=true</argLine>
</configuration>
</plugin>
<plugin>
Expand All @@ -760,6 +764,8 @@
</property>
</systemProperties>
<runOrder>alphabetical</runOrder>
<!-- to avoid losing the focus on MacOS when a new forked jvm is created -->
<argLine>-Djava.awt.headless=true</argLine>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 54448bf

Please sign in to comment.