maven-javadoc-plugin how to configure both aggregate and non-appregate reports

View: New views
2 Messages — Rating Filter:   Alert me  

maven-javadoc-plugin how to configure both aggregate and non-appregate reports

by dahoffer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using the latest version of maven-javadoc-plugin using its new
reportSets options,  Since I have a multi module project I'd like the top
level to have aggregate javadoc reports and then at the java child projects
have javadocs for that module too.

However I never get any javadocs reports at the top level.  Here is how my
project is configured.

Top level pom:
<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>${maven-javadoc-plugin.version}</version>
                <configuration>
                    <!-- Default configuration for all reports -->
                </configuration>
                <reportSets>
                    <reportSet>
                        <id>aggregate</id>
                        <configuration>
                            <!-- Specific configuration for the aggregate
report -->
                        </configuration>
                        <reports>
                            <report>aggregate</report>
                        </reports>
                    </reportSet>
                </reportSets>
            </plugin>

Java Child pom:
<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>${maven-javadoc-plugin.version}</version>
                <configuration>
                    <!-- Default configuration for all reports -->
                </configuration>
                <reportSets>
                    <reportSet>
                        <id>non-aggregate</id>
                        <configuration>
                            <!-- Specific configuration for the non
aggregate report -->
                        </configuration>
                        <reports>
                            <report>javadoc</report>
                        </reports>
                    </reportSet>
                </reportSets>
            </plugin>

Flex child pom:
<plugin>
                <groupId>org.sonatype.flexmojos</groupId>
                <artifactId>flexmojos-maven-plugin</artifactId>
                <version>${flexmojos-maven-plugin.version}</version>
                <configuration>
                    <headlessServer>true</headlessServer>
                </configuration>
            </plugin>

How am I supposed to do this to get reports at the top level too?

-Dave

Re: maven-javadoc-plugin how to configure both aggregate and non-appregate reports

by Stephen Connolly-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

<reportSet>
<inherited>false</inherited>
<!-- parent only config goes here -->
</reportSet>


2009/11/2 David Hoffer <dhoffer6@...>:

> I'm using the latest version of maven-javadoc-plugin using its new
> reportSets options,  Since I have a multi module project I'd like the top
> level to have aggregate javadoc reports and then at the java child projects
> have javadocs for that module too.
>
> However I never get any javadocs reports at the top level.  Here is how my
> project is configured.
>
> Top level pom:
> <plugin>
>                <groupId>org.apache.maven.plugins</groupId>
>                <artifactId>maven-javadoc-plugin</artifactId>
>                <version>${maven-javadoc-plugin.version}</version>
>                <configuration>
>                    <!-- Default configuration for all reports -->
>                </configuration>
>                <reportSets>
>                    <reportSet>
>                        <id>aggregate</id>
>                        <configuration>
>                            <!-- Specific configuration for the aggregate
> report -->
>                        </configuration>
>                        <reports>
>                            <report>aggregate</report>
>                        </reports>
>                    </reportSet>
>                </reportSets>
>            </plugin>
>
> Java Child pom:
> <plugin>
>                <groupId>org.apache.maven.plugins</groupId>
>                <artifactId>maven-javadoc-plugin</artifactId>
>                <version>${maven-javadoc-plugin.version}</version>
>                <configuration>
>                    <!-- Default configuration for all reports -->
>                </configuration>
>                <reportSets>
>                    <reportSet>
>                        <id>non-aggregate</id>
>                        <configuration>
>                            <!-- Specific configuration for the non
> aggregate report -->
>                        </configuration>
>                        <reports>
>                            <report>javadoc</report>
>                        </reports>
>                    </reportSet>
>                </reportSets>
>            </plugin>
>
> Flex child pom:
> <plugin>
>                <groupId>org.sonatype.flexmojos</groupId>
>                <artifactId>flexmojos-maven-plugin</artifactId>
>                <version>${flexmojos-maven-plugin.version}</version>
>                <configuration>
>                    <headlessServer>true</headlessServer>
>                </configuration>
>            </plugin>
>
> How am I supposed to do this to get reports at the top level too?
>
> -Dave
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...