Has anyone else noticed that their command line java applications in OSX create GUI processes that steal focus(ie, groovy, maven sub processes)? I\'m finding it extremely an
Add to your shell configuration, e.g., .bashrc:
export MAVEN_OPTS=-Djava.awt.headless=true
Eventually I found the basic solution:
For Java applications in general you can specify that they are 'headless', by adding the option -Djava.awt.headless=true to your java application.
-Djava.awt.headless=true