Add support for headers in notifications.

Also generate sources upon `mvn package`.