Skip to content

rombert/desktop-maven-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Desktop Notifier for Maven

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.

How To

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.

Linux

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.

Mac OS X

On Mac OS X 10.8 or higher, Maven Desktop Notifier uses terminal-notifier. Installation instructions for terminal-notifier can be found here.

Windows

There is preliminary support for Windows 7 and 8 using Snarl.

Java System Tray

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.

Screenshots

Gnome

KDE

Unity

Mac OS X

Windows

Java System Tray