diff --git a/build.sbt b/build.sbt
index 46a36049..174a4f5d 100644
--- a/build.sbt
+++ b/build.sbt
@@ -28,3 +28,5 @@ findbugsReportName := "findbugs.html"
 seq(jacoco.settings : _*)
 
 seq(javadoc.JavadocPlugin.javadocSettings: _*)
+
+doc := error("use the 'javadoc' task instead of 'doc'")