Skip to content
Jean-Christophe GAY edited this page Apr 5, 2015 · 23 revisions

maven-notifier

A collection of notifiers for Maven 3.x.

Configuration

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, notifysend, systemtray, snarl, pushbullet, kdialog, notifu).
  • 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 to 10 for example, no notification will be triggered if the build ends before 10s.

Notification can be skipped when launching Maven.

mvn package -DskipNotification

The implementation can be override at runtime.

mvn package -DnotifyWith=growl    

Notifiers Configuration

Clone this wiki locally