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?
- Brett
Wendy Smoak wrote:
> On 1/10/06, Brett Porter <[EMAIL PROTECTED]> wrote:
>> there's two paths to take here - put it with the users to define
>> multiple executions (this can be done with reportSets if it is part of
>> the reporting section), or allow multiple doclets to be given in the
>> javadoc configuration and do the rerun there.
>>
>> Since different doclets probably change other options, I'm inclined to
>> go with the first.
>
> I agree. So I tried the <reporting> section, adding 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>
> </configuration>
> </reportSet>
> </reportSets>
> </plugin>
> </plugins>
> </reporting>
>
> The maven-model page says that the reports will be run when the user
> executes 'maven site'. (so does that apply to m2?)
>
> With 'mvn site', nothing Javadoc-related happens at all, just the
> usual 'project info' type reports. I do have a site.xml file with
> ${reporting} in it. Do I have to add something somewhere else?
>
> Thanks,
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]