[ 
https://issues.apache.org/jira/browse/HADOOP-10290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14505575#comment-14505575
 ] 

Sean Busbey commented on HADOOP-10290:
--------------------------------------

FWIW, I fix this across projects by setting a {{~/.mavenrc}} with MAVEN_OPTS 
that includes {{-Dapple.awt.UIElement=true}} ([ref 
pdf|https://developer.apple.com/library/mac/documentation/Java/Reference/Java_PropertiesRef/Java_PropertiesRef.pdf]).
 Since this is a build-box issue, why not just document it in our dev 
guidelines?

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

Reply via email to