Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.3
-
None
-
None
-
jdk 1.4.2_16, linux
Description
We have a build that nests modules three levels deep. When generating javadoc, for each module the whole lifecylcle is repeated.
Sample log:
[INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Toplevel [INFO] Second level: foo [INFO] mule-foo-foo1 [INFO] Second level: bar [INFO] mule-bar-bar1 [INFO] ---------------------------------------------------------------------------- [INFO] Building Toplevel [INFO] task-segment: [clean, site] [INFO] ---------------------------------------------------------------------------- [INFO] [clean:clean] [INFO] Preparing javadoc:javadoc [INFO] ---------------------------------------------------------------------------- [INFO] Building Toplevel [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: foo [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-foo-foo1 [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: bar [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-bar-bar1 [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] Preparing javadoc:test-javadoc [INFO] ---------------------------------------------------------------------------- [INFO] Building Toplevel [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: foo [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-foo-foo1 [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: bar [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-bar-bar1 [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] [site:site] [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: foo [INFO] task-segment: [clean, site] [INFO] ---------------------------------------------------------------------------- [INFO] [clean:clean] [INFO] Preparing javadoc:javadoc [INFO] ---------------------------------------------------------------------------- [INFO] Building Toplevel [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: foo [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-foo-foo1 [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: bar [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-bar-bar1 [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] Preparing javadoc:test-javadoc [INFO] ---------------------------------------------------------------------------- [INFO] Building Toplevel [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: foo [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-foo-foo1 [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: bar [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-bar-bar1 [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] [site:site] [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-foo-foo1 [INFO] task-segment: [clean, site] [INFO] ---------------------------------------------------------------------------- [INFO] [clean:clean] [INFO] Preparing javadoc:javadoc [INFO] ---------------------------------------------------------------------------- [INFO] Building Toplevel [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: foo [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-foo-foo1 [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: bar [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-bar-bar1 [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] Preparing javadoc:test-javadoc [INFO] ---------------------------------------------------------------------------- [INFO] Building Toplevel [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: foo [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-foo-foo1 [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: bar [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-bar-bar1 [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] [site:site] [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: bar [INFO] task-segment: [clean, site] [INFO] ---------------------------------------------------------------------------- [INFO] [clean:clean] [INFO] Preparing javadoc:javadoc [INFO] ---------------------------------------------------------------------------- [INFO] Building Toplevel [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: foo [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-foo-foo1 [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: bar [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-bar-bar1 [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] Preparing javadoc:test-javadoc [INFO] ---------------------------------------------------------------------------- [INFO] Building Toplevel [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: foo [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-foo-foo1 [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: bar [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-bar-bar1 [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] [site:site] [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-bar-bar1 [INFO] task-segment: [clean, site] [INFO] ---------------------------------------------------------------------------- [INFO] [clean:clean] [INFO] Preparing javadoc:javadoc [INFO] ---------------------------------------------------------------------------- [INFO] Building Toplevel [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: foo [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-foo-foo1 [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: bar [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-bar-bar1 [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] Preparing javadoc:test-javadoc [INFO] ---------------------------------------------------------------------------- [INFO] Building Toplevel [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: foo [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-foo-foo1 [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building Second level: bar [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] ---------------------------------------------------------------------------- [INFO] Building mule-bar-bar1 [INFO] ---------------------------------------------------------------------------- [INFO] No goals needed for project - skipping [INFO] [site:site] [INFO] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] ------------------------------------------------------------------------ [INFO] Toplevel .............................................. SUCCESS [7.789s] [INFO] Second level: foo ..................................... SUCCESS [0.966s] [INFO] mule-foo-foo1 ......................................... SUCCESS [2.347s] [INFO] Second level: bar ..................................... SUCCESS [0.848s] [INFO] mule-bar-bar1 ......................................... SUCCESS [2.290s] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14 seconds [INFO] Finished at: Fri Oct 19 15:38:28 CEST 2007 [INFO] Final Memory: 14M/29M [INFO] ------------------------------------------------------------------------
I have attached a sample project structure.
This seems to be caused by the @aggregator annotation in AbstractJavadocMojo. If I build a custom plugin from the current snapshot source, removing the @aggregator, the site builds correctly.
Attachments
Attachments
Issue Links
- depends upon
-
MJAVADOC-104 Javadoc of generated sources is not generated when aggregate=true
- Closed