Hello,

I've just been trying to get my head around the interaction the JavaDoc
plugin when set to "aggregate" and multi-module builds...

This would have saved me tons of time(svn diff on trunk version of file):

Index: org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java
===================================================================
--- org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java    (revision
547679)
+++ org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java    (working
copy)
@@ -1049,6 +1049,7 @@
    {
        if ( aggregate && !project.isExecutionRoot() )
        {
+            getLog().debug("Aggregate setting active, current project is
nog the exection root, skipping report generation."));
            return;
        }

I see a lot of return statements in the maven codebase without a
corresponding debug statement. While the logic is correct, it can be a bit
of a mystery sometimes why Maven does not do anything.

Kind regards,

Jeroen

Reply via email to