You have to configure the Maven Java Doc plugin to exclude files
that meet a certain pattern. So if you don't want it to include
"internal" packages, you tell it to exclude these.
http://maven.apache.org/plugins/maven-javadoc-plugin/examples/exclude-package-names.html
You will need to setup a Configuration entry for your use of the
maven javadoc plugin.
Dave
On 04/05/2011 10:18 AM, Ashwani Sharma wrote:
Hi David,
In most of the eclipse plugins we keep only one src directory
i.e. 'src'
We put all out sources there - the one which are exposed via
manifest and ones which are not exposed.
We normally want to publish the javadocs for exposed api's
but the plugin publishes javadocs for all sources in src files.
It can not differentiate between internal and external (exposed)
sources.
One way to solve this can be to have different source folders
like 'api' and 'core'. The put external sources in api folder,
for which javadocs will be published.
Do you see any other way to solve this issue ?
Regards,
|