Hi all,

i have a multi-module project and i would like to use the javadoc:aggregate
to generate all the javadoc.

so i follow the 
http://maven.apache.org/plugins/maven-javadoc-plugin/aggregate-mojo.html#outputDirectory
javadoc:aggregate goal definition  to set my parent pom.xml

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.6.1</version>
        <executions>
                <execution>
                        <id>aggregate</id>
                        <phase>javadoc</phase>
                        <goals>
                                <goal>aggregate</goal>
                        </goals>
                        <configuration>
                                
<outputDirectory>${project.build.directory}/javadoc</outputDirectory>
                        
<reportOutputDirectory>${project.reporting.outputDirectory}/javadoc</reportOutputDirectory>
                        </configuration>
                </execution>
        </executions>
</plugin>


everything works fine except the output directory is still
{parent.project}/target/site/apidocs rather than the path i specified in the
parent pom.xml.

how could i change the output directory of the aggregate javadoc?

by the way, i dun know what is the difference between the <outputDirectory>
and <reportOutputDirectory>. their descriptions are the same in 
http://maven.apache.org/plugins/maven-javadoc-plugin/aggregate-mojo.html#outputDirectory
javadoc:aggregate goal definition 

Thanks for your help.

Regards,
Kit





-- 
View this message in context: 
http://old.nabble.com/javadoc%3Aaggregate---change-output-directory-tp26975403p26975403.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to