jcgay/maven-notifier

How to notify asynchronously?

michaldo opened this issue · 2 comments

On my computer (Windows10) command line terminal waits until notification is closed.
Is it possible to launch notification message and immediately return to user caret?

jcgay commented

I assume you are using the default notifier System Tray (which may look really different on Windows) ?
Because this notifier is implemented in Java and is running in the same JVM as Maven, this is why it waits when the build ends. If not you'll will not see any notification as the JVM just exits.

You can pick a different notifier for Windows (like Snarl, Growl, etc.). They will not block your command line.

Let me know if it helps.
Thanks

Yes it helps.
Thanks