I kept on getting the following build error: taskdef class xdoclet.modules.hibernate.HibernateDocletTask. I found the solution was to ensure the following two dependencies were included in my project.xml file. <dependency> <groupId>xdoclet</groupId> <artifactId>xdoclet-hibernate-module</artifactId> <version>1.2</version> </dependency> <dependency> <groupId>xdoclet</groupId> <artifactId>xjavadoc</artifactId> <id>xjavadoc</id> <version>1.0.2</version> </dependency>