Maven Notifier

August 21, 2021 · View on GitHub

Notifiers that can be used with Maven 3.x. A status notification will be send at the end of a Maven build.

Installation

$M2_HOME refers to maven installation folder.

.
├── bin
├── boot
├── conf
└── lib

OS X ?

You can install a pre-packaged maven named maven-deluxe using brew. It comes with maven-color, maven-notifier and maven-profiler. It is based on latest maven release.

brew tap jcgay/jcgay
brew install maven-deluxe

Maven >= 3.3.x

Get maven-notifier and copy it in %M2_HOME%/lib/ext folder.

or

Use the core extensions configuration mechanism by creating a ${maven.multiModuleProjectDirectory}/.mvn/extensions.xml file with:

	<?xml version="1.0" encoding="UTF-8"?>
	<extensions>
	    <extension>
	      <groupId>fr.jcgay.maven</groupId>
	      <artifactId>maven-notifier</artifactId>
	      <version>2.1.2</version>
	    </extension>
	</extensions>

Maven >= 3.1

Get maven-notifier and copy it in your $M2_HOME/lib/ext folder.

Maven < 3.1

Get maven-notifier and extract it in your $M2_HOME/lib/ext folder.

What's new ?

See CHANGELOG to get latest changes.

Notifiers

NotifierScreenshot
Growl, for Windows and OS X.Growl
Snarl, for WindowsSnarl
terminal-notifier, OS Xterminal-notifier
notification center OS X (since Mavericks)notification-center
notify-send for Linuxnotify-send
SystemTray since Java 6System Tray
Pushbulletpushbullet
Kdialog for KDEKdialog
notifu for Windowsnotifu
AnyBar for OS X and Linuxanybar
Toaster for Windows 8Toaster
Notify since Java 6Notify
BurntToast for Windows 10BurntToast
SlackSlack

Sound

Play a success or failure sound when build ends.

Configuration

Go to Wiki to read full configuration guide for each notifier.

Build status

Build Status Coverage Status Quality Gate Technical debt ratio

Release

mvn -B release:prepare release:perform