Stop surefire from stealing focus by setting java.awt.headless=true.