diff --git a/maven-reports/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java b/maven-reports/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java index bf8d8ff478..f3cc808de7 100644 --- a/maven-reports/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java +++ b/maven-reports/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocReport.java @@ -44,6 +44,7 @@ import org.codehaus.plexus.util.cli.DefaultConsumer; * This class provides the Javadoc report support. * * @goal javadoc + * @requiresDependencyResolution compile * * @author Emmanuel Venisse * @author Vincent Siveton @@ -737,7 +738,7 @@ public class JavadocReport catch ( Exception e ) { getLog().debug( e ); - throw new MavenReportException( "An error is occurred in javadoc report generation.", e ); + throw new MavenReportException( "An error has occurred in javadoc report generation.", e ); } }