Note that this plugin is work-in-progress. The current version works to the best of my knowledge, but can in no way be considered stable.

maven-dbus-plugin can generate DBusInterface files from interface specifications in XML format. The plugin is available from Maven Central:


By default, it checks in src/main/dbus for .xml files to process. Source files are generated and then included in the build as normal.

Source code hosted on bitbucket.

Currently, the jar files are available only as Debian packages, as far as I can tell. I have created a set of jar files for dbus and dependencies from sources that can be used until they get into Maven Central. You will need to install them in your local repository.