Note that I have written "Java docs", as I'm not necessarily expecting the javadoc utility to acheive what I'm after (let alone the maven-javadoc-plugin I'm using).

I need to produce a doc site that includes only classes that extends/implements a particular interface and, unfortunately, such classes don't seem to be arranged in a logical package structure that allows me to do this by filtering on package path.

Any suggestions?

有帮助吗?

解决方案

You could create your own custom Doclet that extends the standard doclet but only generates the classes you require. See the docs on using alternate doclets with the maven javadoc plugin.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top