Index: src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java
===================================================================
--- src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java	(revision 404738)
+++ src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java	(working copy)
@@ -57,6 +57,7 @@
  *
  * @author <a href="mailto:brett@apache.org">Brett Porter</a>
  * @requiresDependencyResolution compile
+ * @execute phase="generate-sources"
  */
 public abstract class AbstractJavadocMojo
     extends AbstractMojo
@@ -97,6 +98,13 @@
     protected MavenProject project;
 
     /**
+     * @parameter expression="${executedProject}"
+     * @required
+     * @readonly
+     */
+    protected MavenProject executedProject;
+
+    /**
      * Set an additional parameter(s) on the command line.  This value should include quotes as necessary for parameters
      * that include spaces.
      *
@@ -911,7 +919,7 @@
         List sourcePaths;
         if ( StringUtils.isEmpty( sourcepath ) )
         {
-            sourcePaths = new ArrayList( project.getCompileSourceRoots() );
+            sourcePaths = new ArrayList( executedProject.getCompileSourceRoots() );
 
             if ( aggregate && project.isExecutionRoot() )
             {
