Introduction to DTDDoc Maven plugin

dtddoc-maven-plugin is a Maven2 plugin to document DTDs with DTDDoc.

To use DTDDoc Maven 2 plugin, your pom.xml must contain:

<project>
  <reporting>
    <plugins>
      <plugin>
        <groupId>net.sf.dtddoc</groupId>
        <artifactId>dtddoc-maven-plugin</artifactId>
        <configuration>
          <docTitle>... title ...</docTitle>
          ...
        </configuration>
      </plugin>
    </plugins>
  </reporting>
</project>

For more information on plugin configuration, see the dtddoc goal documentation.

Known limitations

This plugin has been tested in standalone Maven 2 projects and in multi-modules too (configured in parent pom), but report aggregation is still not supported.

Testing snapshot versions of DTDDoc Maven plugin

To test new versions of the plugin before it is released, you'll have to configure its repository in your project pom.xml or global settings.xml like the following :

<profiles>
  <profile>
    <activation><activeByDefault>true</activeByDefault></activation>
    <pluginRepositories>
      <pluginRepository>
        <id>dtddoc-snapshots</id>
        <url>http://dtddoc.sf.net/m2repo/snapshots</url>
      </pluginRepository>
    </pluginRepositories>
  </profile>
</profiles>