You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Martin Desruisseaux (JIRA)" <ji...@codehaus.org> on 2005/12/13 23:44:46 UTC
[jira] Commented: (MNG-1768) excludePackageNames property doesn't
work
[ http://jira.codehaus.org/browse/MNG-1768?page=comments#action_53368 ]
Martin Desruisseaux commented on MNG-1768:
------------------------------------------
The way javadoc plugin currently work (passes the source file names) cause some trouble to us, because it prevent @see and @link tags to work with packages. For example if org.mypackage is a package, then @see org.mypackage is supposed to create a link to the package overview. This work well if the javadoc tool is used with the -subpackages parameters, but doesn't work when we pass the source file names. See MNG-1166
I would prefer if the javadoc plugin was using the -subpackages parameters instead of passing the source file names. It would fix both the -excludes issue and the @see org.mypackage issue. Or at least, the javadoc plugin should not pass the source filenames when the -subpackages parameter is used. Maybe the two approachs should be mutually exclusive.
> excludePackageNames property doesn't work
> -----------------------------------------
>
> Key: MNG-1768
> URL: http://jira.codehaus.org/browse/MNG-1768
> Project: Maven 2
> Type: Bug
> Components: maven-javadoc-plugin
> Reporter: David Jackman
> Attachments: MNG-1768.patch
>
>
> The Javadoc plugin passes the excludePackageNames as the -exclude parameter for the execution of the Javadoc tool. However, because the Javadoc plugin passes the source file names on the command line, the -exclude parameter has no effect (it only excludes packages from the list specified by the -subpackages parameter).
> In order for package exclusion to work, the source files for these packages must be removed from the source file names list by the plugin.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org