You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Karel Vervaeke <ka...@outerthought.org> on 2010/08/19 17:10:26 UTC

Building aggregated javadocs for a limited set of modules

Hi,

I have a multi-module maven project. There are 'api' modules and
'implementation' modules.
I'm trying to generate an aggregated javadoc report, which only
includes the api modules.
Right now the maven-javadoc-plugin configuration is in the root pom
(and I'm running mvn site:site from the parent module's basedir)

As far as I can tell you can only exclude javadocs based on package
name, but I'm hoping
that someone will prove me wrong ;-)

For now, my best 'workaround' would be to move the javadoc plugin to a
separated 'aggregated-apidocs' module and to
aggregate the javadocs by listing the 'api' modules as dependencies
and using dependencySourceInclusions.
http://maven.apache.org/plugins/maven-javadoc-plugin/aggregate-mojo.html#dependencySourceIncludes
(But then mvn site:deploy would not give the desired result).

If anyone has suggestions or if anyone knows a better solution, I
would be glad to hear.
Regards,
Karel

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