Can I use the maven javadoc plugin (version 2.7) excludePackageNames attribute to exclude a package but not its subpackages?
===

I have a set of classes that I am generating javadoc for, some of which I want to exclude from the published javadoc. The structure is as follows:

    com.company.package.classA
    com.company.package.classB
    com.company.package.subpackage.classC
    com.company.package.subpackage.classD

I want to exclude all classes in "package" and include all classes in "subpackage". Setting:

    <excludePackageNames>com.company.package</excludePackageNames>

excludes all subpackages beneath package.

Aside from restructuring the code, is there any way of doing this?