Did you find a solution to this. I am seeing the same thing.

-- Lee

On 5/19/06, Daun DeFrance <[EMAIL PROTECTED]> wrote:

Hi all,

I am really jazzed about the aggregate feature of the Javadoc 2.0
plugin.  Unfortunately, I can't seem to make it work.   I have specified
the plugin in my pom with version number and aggregate as true.



<plugin>

        <groupId>org.apache.maven.plugins</groupId>

        <artifactId>maven-javadoc-plugin</artifactId>

        <version>2.0</version>

        <configuration>

            <aggregate>true</aggregate>

        </configuration>

      </plugin>



When I run a top build with sub-modules, I get errors as if the
classpath did not include submodule dependencies:



[SNIP]

Generating
c:/dev/novus/access/trunk/target/site/apidocs\com/novusedge/platform/ser
vices/whitelist/\package-tree.html...

Generating
c:/dev/novus/access/trunk/target/site/apidocs\constant-values.html...

Generating
c:/dev/novus/access/trunk/target/site/apidocs\serialized-form.html...

173 warnings

[INFO]
------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO]
------------------------------------------------------------------------

[INFO] Error during report generation



Embedded error: Exit code: 1 -
c:/dev/novus/access/trunk/common/src/main/java/com/novusedge/common/Prop
erty.java:14: package org.igfay.jfig does not e

xist

import org.igfay.jfig.JFig;

                      ^

c:/dev/novus/access/trunk/common/src/main/java/com/novusedge/common/Prop
erty.java:15: package org.igfay.jfig does not exist

import org.igfay.jfig.JFigEvent;

                      ^

c:/dev/novus/access/trunk/common/src/main/java/com/novusedge/common/Prop
erty.java:16: package org.igfay.jfig does not exist

import org.igfay.jfig.JFigException;

[SNIP]





The code clearly compiles and when I remove the aggregate setting in the
same pom, the build runs fine, but the reports are obviously not
aggregated.  I reviewed the rest of the settings of the plugin
(http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html)
but I did not see anything else which I am missing which should be
required to aggregate.



Any thoughts on how to get aggregate working?



Best,

DeFrance





--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]

Reply via email to