Simple build extension for Maven 3.0.2 or newer which notifies the user when a build is complete.
Currently supported on Linux, Mac OS X and Windows (through various notification senders) and on all systems running Java 6.
To build the desktop notifier, download a copy of the sources, and then from within the directory:
mvn package
To install the desktop notifier, simply copy target/desktop-maven-notifier-*.jar
to the lib/ext
directory of your Maven installation.
On Linux Maven Desktop Notifier uses notify-send
and, where available, kdialog
. Tests were performed on Gnome 3, KDE 4 and Unity
but other compliant implementations, for instance those provided by Cinnamon and Xfce, should work just fine.
On Mac OS X 10.8 or higher, Maven Desktop Notifier uses terminal-notifier
. Installation instructions for terminal-notifier
can be found
here.
There is preliminary support for Windows 7 and 8 using Snarl.
If none of the notification senders described above are available on your machine, or if simply you're running a different operating system, Maven Desktop Notifier will fallback to using the Java System Tray mechanism for displaying pop-ups. This requires Java 6 or newer.