You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2015/04/21 21:29:00 UTC
[jira] [Commented] (HADOOP-10290) Surefire steals focus on MacOS
[ 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)