Adding the following snipped to your reporting section did the job for me. You might need to give maven more heap, you can do that by settings MAVEN_OPTS environment variable to '-Xmx1024m'
<plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <aggregate>true</aggregate> </configuration> </plugin> Roald Bankras Software Engineer JTeam b.v. -----Original Message----- From: Daun DeFrance [mailto:[EMAIL PROTECTED] Sent: Monday, May 22, 2006 5:51 PM To: Maven Users List Subject: RE: [m2.0.4] Javadoc aggregate problems with multiple modules projects Stefan, I am having the same problem which I posted last Friday. Removing the aggregate=true flag allows the javadoc to run successfully. I am at a loss and haven't seen any responses indicating what the problem is. Sorry I couldn't be more help, but if you find a solution, please post it to the group. Thanks, Daun -----Original Message----- From: Stefan Kanev [mailto:[EMAIL PROTECTED] Sent: Monday, May 22, 2006 9:31 AM To: users@maven.apache.org Subject: [m2.0.4] Javadoc aggregate problems with multiple modules projects Hi all. Setting aggregate to true for the javadoc plugin doesn't seem to work for me, in a multiple-module build. I won't paste error message, because they are just too large, but it tells me that it can't find some classes (from external dependencies) that it succesfully finds when I'm building the project. After that, I get a lot of java.lang.ClassCastException: com.sun.tools.javadoc.ClassDocImpl exceptions and duh. The problem disappears when I move those dependencies from the <dependencyManagement> to the <dependencies> tag in the code. It leads me to think, that the javadoc plugin ignores the dependencies in <dependencyManagement>. I read somewhere (I don't remember where) that this is currently fixed in the CVS for maven-javadoc-plugin, but a fresh checkout produces the same error. Ideas, anyone? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.6.1/344 - Release Date: 5/19/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.6.1/344 - Release Date: 5/19/2006 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]