Tell me more ×  The Javadoc tool has a command-line option
called "packagenames" which allows you to specify the package
names you want to document. Does the maven javadoc plugin
support this argument?  It seems that maven supports all the
options as configuration properties, but packagenames is not an
option, it's a command-line parameter and I can't see it listed
on the maven javadoc plugin page.  The maven plugin does support
the subpackages option, but this is different (it's recursive,
whereas the packagenames argument is not).  How can I specify
the packagenames argument with the Javadoc Maven plugin?
share|improve this question add comment  1 Answer  There is an
excludePackageNames option so you should be able to use that to
get what you want.  share|improve this answer Thanks, I saw that
but unfortunately there's a bug in the maven javadoc plugin that
causes it to override the excludePackageNames with the
subpackages option (the Oracle reference says that
excludePackageNames overrides subpackages). O