You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2011/05/02 00:28:22 UTC

[jira] Commented: (MJAVADOC-306) javadoc fails when no classes are found to document

    [ http://jira.codehaus.org/browse/MJAVADOC-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=265390#action_265390 ] 

Herve Boutemy commented on MJAVADOC-306:
----------------------------------------

how is this issue different from MJAVADOC-274?

> javadoc fails when no classes are found to document
> ---------------------------------------------------
>
>                 Key: MJAVADOC-306
>                 URL: http://jira.codehaus.org/browse/MJAVADOC-306
>             Project: Maven 2.x Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.5
>         Environment: Linux RHEL5.5 Server
>            Reporter: Rich Carr
>            Priority: Minor
>
> When running javadoc:aggregate on a project with no javadocs yet added, an exception is produced.
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] MavenReportException: Error while creating archive:Exit code: 1 - javadoc: warning - No source files for package xxx.yy.zz
> javadoc: error - No public or protected classes found to document.
> Command line was:/opt/java1.6/jre/../bin/javadoc @options @packages

-- 
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