On 1/10/06, Brett Porter <[EMAIL PROTECTED]> wrote:
> You need:
> <reports>
> <report>javadoc</report>
> </reports>
>
> Inside the report set.
>
> I think this portion needs to be better documented, and should run all
> reports by default (in contrast to build executions). Would you like to
> file a JIRA for this?
Thanks for the tip on <reports>. I'm not sure what you mean in the
second part, but if you'll tell me what code/section in JIRA I'll
paste that in.
Unfortunately, it's still not cooperating. With this:
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<reportSets>
<reportSet>
<configuration>
<doclet>gr.spinellis.umlgraph.doclet.UmlGraph</doclet>
<docletPath>c:\java\m2-repository\umlgraph\UMLGraph\4.2-SNAPSHOT\UMLGraph-4.2-SNAPSHOT.jar</docletPath>
<additionalParam>-views</additionalParam>
<destDir>target/uml</destDir>
</configuration>
<reports>
<report>javadoc</report>
</reports>
</reportSet>
<!--reportSet>
<configuration/>
<reports>
<report>javadoc</report>
</reports>
</reportSet-->
</reportSets>
</plugin>
</plugins>
</reporting>
I get target/apidocs/graph.dot, plus the css and images. I don't need
the css and images, and It's ignoring <destDir>. There's a comment in
the javdoc plugin code about being in "site-embedded report mode"
which I assume is the case here, and it uses the directory that Doxia
has set, plus 'apidocs', always.
If I uncomment that second reportSet, which was intended to make it
generate the normal html Javadoc, then it does NOT generate the
graph.dot file anymore, it just runs the default html javadoc twice.
Was the javadoc plugin intended to be used this way? If UMLGraph
really needs its own plugin, that's an acceptable answer. But if this
is supposed to work, then I'll press on.
Thanks for your patience,
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]