You need to enable aggregation for this plugin:
<plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <aggregate>true</aggregate> </configuration> </plugin>
At the command prompt, type:
mvn javadoc:aggregate
Edit:
Ok, I dug a little into the maven plugin jira and found that all the javadoc plugin mods were annotated using @aggregator. But there seems to be problems with the maven aggregator, an issue for which has been reported here
There are also related errors here and here and a few more
This seems to be a blocker problem with the maven aggregator, as some plugins, for example, clover, will not work.
To summarize, you are not doing anything wrong
Just revert to earlier versions of maven-javadoc-plugin that donβt use the @aggregator mojo annotation and you wonβt receive a warning (unless you use a specific javadoc plugin function that is not available in an earlier version)
On a side note: If you ran the javadoc plugin as a report, then @aggregator is ignored.
naikus
source share