The Push Notification Plugin is a plugin for the Openfire XMPP server, which adds support sending push notifications to client software, as described in XEP-0357: "Push Notifications".
This project is using the Maven-based Openfire build process, as introduced in Openfire 4.2.0. To build this plugin locally, ensure that the following are available on your local host:
- A Java Development Kit, version 7 or (preferably) 8
- Apache Maven 3
To build this project, invoke on a command shell:
$ mvn clean package
Upon completion, the openfire plugin will be available in target/pushnotification-openfire-plugin-assembly.jar
. This file should be renamed to pushnotification.jar
Copy pushnotification.jar
into the plugins directory of your Openfire server, or use the Openfire Admin Console to upload the plugin. The plugin will then be automatically deployed.
To upgrade to a new version, copy the new pushnotification.jar
file over the existing file.