maven-notifier
maven-notifier copied to clipboard
"build successful" notifications steal focus from the terminal
Is this a bug or a feature? How can I disable this?
Original: https://github.com/jcgay/maven-color/issues/28
This is not "really" a feature :)
Depending on which notifier is used, focus can be lost when AWT is used somewhere (see #16)
I'll give it another look, do you know which notifier is used ? It will try to find one available in https://github.com/jcgay/maven-notifier/wiki#default-notifiers
You can disable desktop notifications: https://github.com/jcgay/maven-notifier/wiki#disable-notification
Also noticed this today and it's largely a showstopper for using it. I'm on MacOS and the notification extension causes a GUI app to start up, stealing focus and polluting app list.
I think this is what you want: https://code-maven.com/display-notification-from-the-mac-command-line
In some case the notification is already done with osascript : https://github.com/jcgay/send-notification/blob/master/send-notification/src/main/java/fr/jcgay/notification/notifier/notificationcenter/SimpleNotificationCenterNotifier.java
Which notifier are you using ? Can you run your build with more log (mvn -X) and give me the result ?