maven-dbus-plugin

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:

      <plugin>
        <groupId>net.windwards</groupId>
        <artifactId>maven-dbus-plugin</artifactId>
        <version>0.1</version>
        <executions>
          <execution>
            <phase>generate-sources</phase>
            <goals>
              <goal>generate</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

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.