You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Mike Perham (JIRA)" <ji...@codehaus.org> on 2006/01/10 21:33:01 UTC
[jira] Closed: (MJAVADOC-37) specifying visibility levels other
than package requires setting showPackage to false
[ http://jira.codehaus.org/browse/MJAVADOC-37?page=all ]
Mike Perham closed MJAVADOC-37:
-------------------------------
Assign To: Mike Perham
Resolution: Fixed
Fixed by MJAVADOC-27.
{noformat}
/**
* Specifies the access level for classes and members to show in the Javadocs.
* Possible values are:
* <a href="http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javadoc.html#public">public</a>
* (shows only public classes and members),
* <a href="http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javadoc.html#protected">protected</a>
* (shows only public and protected classes and members),
* <a href="http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javadoc.html#package">package</a>
* (shows all classes and members not marked private), and
* <a href="http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javadoc.html#private">private</a>
* (shows all classes and members).
*
* @parameter expression="${show}" default-value="protected"
*/
private String show = "protected";
{noformat}
> specifying visibility levels other than package requires setting showPackage to false
> -------------------------------------------------------------------------------------
>
> Key: MJAVADOC-37
> URL: http://jira.codehaus.org/browse/MJAVADOC-37
> Project: Maven 2.x Javadoc Plugin
> Type: Wish
> Reporter: Shinobu Kawai Yoshida
> Assignee: Mike Perham
> Priority: Minor
>
>
> In order to specify a visibility level other than package, you need to explicitly set showPackage to false.
> Otherwise, javadoc complains that "error - More than one of -public, -private, -package, or -protected specified.".
> It would be nice if the default was handled in the code instead of the @parameter annotation.
--
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