diff --git a/pmd/xdocs/ant-task.xml b/pmd/xdocs/ant-task.xml
index 4730f5b7f4..1974ed3ca0 100644
--- a/pmd/xdocs/ant-task.xml
+++ b/pmd/xdocs/ant-task.xml
@@ -49,6 +49,48 @@
+
+PMD can record its information into a JDBC datasource using a ]]> tag. This
+tag has several attributes:
+
+
+
+
+ Attribute
+ Description
+ Required
+
+
+ driver
+ Class name of the JDBC driver to use to connect to the database.
+ Optional. If your default system is set up to install the JDBC driver,
+ or if something else will install it, don't do it. Otherwise, provide the
+ value.
+
+
+ url
+ JDBC URL to connect to the database with.
+ Required
+
+
+ user
+ User to connect to the database as.
+ Required
+
+
+ password
+ Password to use for logging into the database.
+ Required
+
+
+projectid
+ This is an integer which will get put into the PMD_RUNS table. Ideally this should
+ be used to connect this run to other data in the system.
+ Optional. If this value is ommitted, the default value will be 0.
+