When running the javadoc plugin in aggregate mode, the plugin ignores the src/main/javadoc directory of the child module.
options file when running in non-aggregate
-classpath 'C:/dev/maven/bugs/javadoc-aggregate/child/target/classes' -encoding 'ISO-8859-1' -protected -sourcepath 'C:/dev/maven/bugs/javadoc-aggregate/child/src/main/java;C:/dev/maven/bugs/javadoc-aggregate/child/src/main/javadoc' -author -bottom 'Copyright © 2008. All Rights Reserved.' -charset 'ISO-8859-1' -d 'C:/dev/maven/bugs/javadoc-aggregate/child/target/site/apidocs' -doctitle 'child 1.0-SNAPSHOT API' -use -version -windowtitle 'child 1.0-SNAPSHOT API'
options file when running in aggregate
-classpath 'C:/dev/maven/bugs/javadoc-aggregate/target/classes;C:/dev/maven/bugs/javadoc-aggregate/child/target/classes' -encoding 'ISO-8859-1' -protected -sourcepath 'C:/dev/maven/bugs/javadoc-aggregate/child/src/main/java' -author -bottom 'Copyright © 2008. All Rights Reserved.' -charset 'ISO-8859-1' -d 'C:/dev/maven/bugs/javadoc-aggregate/target/site/apidocs' -doctitle 'aggregate javadoc parent 1.0-SNAPSHOT API' -use -version -windowtitle 'aggregate javadoc parent 1.0-SNAPSHOT API'
See also MJAVADOC-118. It has worked in 2.3, and is now broken again in 2.4.
fixed in r657353, snapshot 2.5 deployed
Forgot to fix it
Thanks, the version 2.5-20080517.141532-2 is working again.
See also
MJAVADOC-118. It has worked in 2.3, and is now broken again in 2.4.