You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Andrew Hughes <ah...@gmail.com> on 2010/05/25 03:25:33 UTC
Help with Multi Module JavaDocs
Hi All,
I am having trouble with javadoc's on my multi module projects. Creation of
the javadoc's takes forever... when I run 'clean install site' I see the
following 'javadoc has not be previously called' log's for every module...
[INFO] ------------------------------------------------------------------------
[INFO] Building module-d
[INFO] ------------------------------------------------------------------------
....truncated other reports output...
[INFO] Generating "JavaDocs" report.
[WARNING] Source files encoding has not been set, using platform
encoding Cp1252, i.e. build is platform dependent!
[ERROR] Error fetching link:
http://java.sun.com/javase/6/docs/api/package-list. Ignored it.
[INFO] The goal
'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not
be previously called for the project:
'com.acme.project:module-a:jar:0.0.1-SNAPSHOT'. Trying to invoke it...
[INFO] The goal
'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not
be previously called for the project:
'com.acme.project:module-b:jar:0.0.1-SNAPSHOT'. Trying to invoke it...
[INFO] The goal
'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not
be previously called for the project:
'com.acme.project:module-c:jar:0.0.1-SNAPSHOT'. Trying to invoke it...
[INFO] The goal
'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not
be previously called for the project:
'com.acme.project:module-d:jar:0.0.1-SNAPSHOT'. Trying to invoke it...
[INFO] The goal
'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not
be previously called for the project:
'com.acme.project:module-e:jar:0.0.1-SNAPSHOT'. Trying to invoke it...
[INFO] The goal
'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not
be previously called for the project:
'com.acme.project:module-f:jar:0.0.1-SNAPSHOT'. Trying to invoke it...
If I have 6 modules [a..f] as above, then javadoc is run 6x6=36 times
in total. Build times are oh so slow when building the site...
My parent pom config with maven 2.2.1 and javadoc v2.5 is as follows...
<reporting>
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<source>${maven.compiler.source}</source>
<maxmemory>512m</maxmemory>
<useStandardDocletOptions>true</useStandardDocletOptions>
<doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc</doclet>
<docletArtifact>
<groupId>gr.spinellis</groupId>
<artifactId>UmlGraph</artifactId>
<version>4.6</version>
</docletArtifact>
</configuration>
</plugin>
</plugins>
</reporting>
Any idea what I am doing wrong here?
CHEERS :)