-
Notifications
You must be signed in to change notification settings - Fork 12
Home
Jean-Christophe GAY edited this page Jul 14, 2015
·
23 revisions
A collection of notifiers for Maven 3.x.
If needed, configuration can be done by creating a maven-notifier.properties
file in your ~/.m2
folder and using keys:
-
notifier.implementation
= which implementation to use. (growl
,notificationcenter
,simplenc
,notifysend
,systemtray
,snarl
,pushbullet
,kdialog
,notifu
,anybar
). -
notifier.message.short
= true/false. Choose between a full description with each module summary or a short one just reflecting the build status. (true
by default) -
notifier.threshold
= a time in second under which a build will not fire a notification. (-1
by default meaning a notification will always be sent). If set to10
for example, no notification will be triggered if the build ends before10s
.
Notification can be skipped when launching Maven.
mvn package -DskipNotification
The implementation can be override at runtime.
mvn package -DnotifyWith=growl
send-notification will try to find an available notifier on running os.
OS X:
- Growl,
- Notification Center (with terminal-notifier)
- System Tray
Linux:
- Kdialog,
- notify-send,
- System Tray
Windows:
- Snarl,
- Growl,
- Toaster,
- System Tray