[
https://jira.codehaus.org/browse/MJAVADOC-306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy closed MJAVADOC-306.
----------------------------------
Resolution: Duplicate
> javadoc fails when no classes are found to document
> ---------------------------------------------------
>
> Key: MJAVADOC-306
> URL: https://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.
For more information on JIRA, see: http://www.atlassian.com/software/jira