[ https://issues.apache.org/jira/browse/HADOOP-10290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14505594#comment-14505594 ]
André Kelpe commented on HADOOP-10290: -------------------------------------- I am using JAVA_TOOL_OPTIONS on my systems since that works across all the different build tools (maven, sbt, gradle) and gets picked up by the JVM directly: https://docs.oracle.com/javase/7/docs/webnotes/tsg/TSG-VM/html/envvars.html > Surefire steals focus on MacOS > ------------------------------ > > Key: HADOOP-10290 > URL: https://issues.apache.org/jira/browse/HADOOP-10290 > Project: Hadoop Common > Issue Type: Bug > Components: build > Reporter: Laurent Goujon > Attachments: hadoop-10290.patch, hadoop-10290.patch > > > When running tests on MacOS X, surefire plugin keeps stealing focus from > current application. > This can be avoided by adding {noformat}-Djava.awt.headless=true{noformat} to > the surefire commandline -- This message was sent by Atlassian JIRA (v6.3.4#6332)