1

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?

Fletch
  • 4,829
  • 2
  • 41
  • 55

1 Answers1

0

There is an excludePackageNames option so you should be able to use that to get what you want.

wytten
  • 2,800
  • 1
  • 21
  • 38
  • 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). Oh well. – Fletch Jun 17 '13 at 12:12