RE: [m2.0.4] Javadoc aggregate problems with multiple modules projects

2006-05-22 Thread Roald Bankras
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'


maven-javadoc-plugin

true




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
 to
the  tag in the code. It leads me to think, that the
javadoc
plugin ignores the dependencies in .

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]



RE : [m2.0.4] Javadoc aggregate problems with multiple modules projects

2006-05-22 Thread Olivier Lamy
IMO, it's an issue [1].
Because dependencies declared in child modules are not adding in the
javadoc cli which is launched in the root module.
Moving dependencies in the root pom works but it's not what I want to
do.
I need to declare dependencies only where I need it (moving to root
propagate to all childs).
You can declare a new profile in your root pom which include all
dependencies and try the aggregate javadocs with activating this.
Not tested but certainly works ?

- Olivier

[1] http://jira.codehaus.org/browse/MJAVADOC-72

-Message d'origine-
De : Daun DeFrance [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 22 mai 2006 17:51
À : Maven Users List
Objet : 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
 to the  tag in the code. It leads
me to think, that the javadoc plugin ignores the dependencies in
.

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]



This e-mail, any attachments and the information contained therein ("this 
message") are confidential and intended solely for the use of the addressee(s). 
If you have received this message in error please send it back to the sender 
and delete it. Unauthorized publication, use, dissemination or disclosure of 
this message, either in whole or in part is strictly prohibited.
--
Ce message électronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci après "le message" ), sont confidentiels et 
destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. 
Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur 
et de le détruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressément autorisées de ce 
message, sont interdites.
-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [m2.0.4] Javadoc aggregate problems with multiple modules projects

2006-05-22 Thread Daun DeFrance
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
 to
the  tag in the code. It leads me to think, that the
javadoc
plugin ignores the dependencies in .

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]



[m2.0.4] Javadoc aggregate problems with multiple modules projects

2006-05-22 Thread Stefan Kanev

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  to
the  tag in the code. It leads me to think, that the javadoc
plugin ignores the dependencies in .

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?